summaryrefslogtreecommitdiff
path: root/config/initializers/0_inflections.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/0_inflections.rb')
-rw-r--r--config/initializers/0_inflections.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/initializers/0_inflections.rb b/config/initializers/0_inflections.rb
new file mode 100644
index 00000000000..d4197da3fa9
--- /dev/null
+++ b/config/initializers/0_inflections.rb
@@ -0,0 +1,14 @@
+# 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)
+end