Bläddra i källkod

Add plural inflector for pokemon

Andrew Swistak 7 år sedan
förälder
incheckning
cf3ba9eb75
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      config/initializers/inflections.rb

+ 3 - 0
config/initializers/inflections.rb

@@ -14,3 +14,6 @@
 # ActiveSupport::Inflector.inflections(:en) do |inflect|
 #   inflect.acronym 'RESTful'
 # end
+ActiveSupport::Inflector.inflections(:en) do |inflect|
+  inflect.uncountable 'pokemon', 'pokemon'
+end