tilde.news/config/initializers/inflections.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
664 B
Ruby
Raw Normal View History

2023-09-14 13:37:09 +00:00
# typed: false
# Be sure to restart your server when you modify this file.
2013-12-30 22:29:00 +00:00
# Add new inflection rules using the following format. Inflections
# are locale specific, and you may define rules for as many different
# locales as you wish. All of these examples are active by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
2023-12-24 04:41:35 +00:00
# inflect.plural /^(ox)$/i, "\\1en"
# inflect.singular /^(ox)en/i, "\\1"
# inflect.irregular "person", "people"
# inflect.uncountable %w( fish sheep )
# end
2013-12-30 22:29:00 +00:00
# These inflection rules are supported but not enabled by default:
2013-12-30 22:29:00 +00:00
# ActiveSupport::Inflector.inflections(:en) do |inflect|
2023-12-24 04:41:35 +00:00
# inflect.acronym "RESTful"
# end