What you will want to do is pass in the :path
option
resources :apples, :path => "cars"
This replace all your route references with /apples
to /cars
See: http://guides.rubyonrails.org/routing.html, Section 4.7 Translating Paths
What you will want to do is pass in the :path
option
resources :apples, :path => "cars"
This replace all your route references with /apples
to /cars
See: http://guides.rubyonrails.org/routing.html, Section 4.7 Translating Paths