Can I map resources to a different controller?
The rails guide specifies how to use specific controllers for certain routes.
You can do something like this:
Rails.application.routes.draw do
resources :products, controller: "catalog"
# but rails conventions suggests you should pluralise your controller name
# so use "catalogs" (plural) instead of the singular "catalog"
end
For the record: map.resources :products, :controller => "catalog"
is how you do this.