debian-mirror-gitlab/config/initializers/0_inflections.rb

15 lines
510 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
# (all these examples are active by default):
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end
#
ActiveSupport::Inflector.inflections do |inflect|
2017-08-17 22:00:37 +05:30
inflect.uncountable %w(award_emoji project_statistics system_note_metadata)
end