aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/inflections.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/inflections.rb')
-rw-r--r--config/initializers/inflections.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
index ac033bf..13e8739 100644
--- a/config/initializers/inflections.rb
+++ b/config/initializers/inflections.rb
@@ -14,3 +14,9 @@
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym 'RESTful'
# end
+
+ActiveSupport::Inflector.inflections do |inflect|
+ inflect.irregular 'human', 'humans'
+ inflect.acronym 'API'
+ inflect.acronym 'SSO'
+end