Sfoglia il codice sorgente

Inflect api like API

Andrew Swistak 6 anni fa
parent
commit
1a9d4a1eda
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      config/initializers/inflections.rb

+ 1 - 0
config/initializers/inflections.rb

@@ -16,4 +16,5 @@
 # end
 ActiveSupport::Inflector.inflections(:en) do |inflect|
   inflect.uncountable 'pokemon', 'pokemon'
+  inflect.acronym 'API'
 end