Read routing from inside out and API as well as a few tutorials but
still don't get it!!! For example...
resources :minisections do
In the view:
<%= link_to 'Delete', minisection_question_path(: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" method even though I have
:method => :delete. ...so how to specify to to rails to delete a
Posted via http://www.ruby-forum.com/.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.