gitlab-org--gitlab-foss/config/initializers/0_inflections.rb
Valery Sizov f519a4b72f Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809
Introducing Docker Registry replication
2019-08-01 20:38:07 +03:00

28 lines
757 B
Ruby

# 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|
inflect.uncountable %w(
award_emoji
project_statistics
system_note_metadata
event_log
project_auto_devops
project_registry
file_registry
job_artifact_registry
container_repository_registry
vulnerability_feedback
vulnerabilities_feedback
group_view
)
inflect.acronym 'EE'
end