You have the route specified to only accept POST requests, but by using link_to, you're creating a hyperlink that generates a GET request.
You'll need to either change your routes to accept a GET request, or change your method of calling the URL to a POST request (from a form). -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/x5f-5kq1mO4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

