debian-mirror-gitlab/config/initializers_before_autoloader/000_inflections.rb

34 lines
868 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|
2018-03-17 18:26:18 +05:30
inflect.uncountable %w(
2020-07-28 23:09:34 +05:30
custom_emoji
2018-03-17 18:26:18 +05:30
award_emoji
2019-12-26 22:10:19 +05:30
container_repository_registry
design_registry
2019-09-30 21:07:59 +05:30
event_log
file_registry
2019-12-26 22:10:19 +05:30
group_view
2019-09-30 21:07:59 +05:30
job_artifact_registry
2019-12-26 22:10:19 +05:30
lfs_object_registry
2020-03-13 15:44:24 +05:30
package_file_registry
2019-12-26 22:10:19 +05:30
project_auto_devops
project_registry
project_statistics
system_note_metadata
2019-09-30 21:07:59 +05:30
vulnerabilities_feedback
2019-12-26 22:10:19 +05:30
vulnerability_feedback
2018-03-17 18:26:18 +05:30
)
2019-09-30 21:07:59 +05:30
inflect.acronym 'EE'
2020-04-08 14:13:33 +05:30
inflect.acronym 'CSP'
end