Explorar el Código

Add plural inflector for pokemon

Andrew Swistak hace 7 años
padre
commit
cf3ba9eb75
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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