Displaying 1 result from an estimated 1 matches for "minisection_quest".
2012 Feb 12
3
Rails routes - destroy
Can''t figure out how duplicate routes are differentiated by rails ...
Read routing from inside out and API as well as a few tutorials but
still don''t get it!!! For example...
routes.rb
resources :minisections do
resources :questions
end
rake routes:
minisection_question GET
/minisections/:minisection_id/questions/:id(.:format)
questions#show
PUT
/minisections/:minisection_id/questions/:id(.:format)
questions#update
DELETE
/minisections/:minisection_id/questions/:id(.:format)
questions#destroy...