summaryrefslogtreecommitdiff
path: root/config/initializers/inflections.rb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-11-11 16:55:14 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-11-11 16:55:14 +0100
commitfea9476a591559bd8fdcf17b64e5114c592a5b08 (patch)
tree08aa0fdd62752f1d286aa66ac77413fb03d6d737 /config/initializers/inflections.rb
C'est l'heure d'assurer le suivi de quelques flacons!main
Diffstat (limited to 'config/initializers/inflections.rb')
-rw-r--r--config/initializers/inflections.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
new file mode 100644
index 0000000..3860f65
--- /dev/null
+++ b/config/initializers/inflections.rb
@@ -0,0 +1,16 @@
+# Be sure to restart your server when you modify this file.
+
+# 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|
+# inflect.plural /^(ox)$/i, "\\1en"
+# inflect.singular /^(ox)en/i, "\\1"
+# inflect.irregular "person", "people"
+# inflect.uncountable %w( fish sheep )
+# end
+
+# These inflection rules are supported but not enabled by default:
+# ActiveSupport::Inflector.inflections(:en) do |inflect|
+# inflect.acronym "RESTful"
+# end
Copyright 2019--2024 Marius PETER