There’s a file called config/initializers/inflections.rb
.
Add in it
ActiveSupport::Inflector.inflections do |inflect|
inflect.acronym 'API'
end
and the API namespace will be available as a directory called api
There’s a file called config/initializers/inflections.rb
.
Add in it
ActiveSupport::Inflector.inflections do |inflect|
inflect.acronym 'API'
end
and the API namespace will be available as a directory called api