search for: minisection_question_path

Displaying 1 result from an estimated 1 matches for "minisection_question_path".

2012 Feb 12
3
Rails routes - destroy
...at) questions#show PUT /minisections/:minisection_id/questions/:id(.:format) questions#update DELETE /minisections/:minisection_id/questions/:id(.:format) questions#destroy In the view: <%= link_to ''Delete'', minisection_question_path(:minisection_id => @minisection.id, :id => question.id), :confirm => ''Are you sure?'', :method => :delete %> SO the GET, PUT, and DELETE routes are the same. The view listed above ends up requesting the first route ie "show&quot...