[Rails] Delete routes to Edit?

2011-02-11 Thread pete
Hi- I encountered a problem I have never seen before. For some reason, requests for Destroy are routing to Edit. Here's the route: DELETE /instructions/:id(.:format) {:action=destroy, :controller=instructions} Here's the call to render it: %= link_to 'Delete', instruction, :confirm = 'Are

Re: [Rails] Delete routes to Edit?

2011-02-11 Thread Jim Ruther Nill
are you using rails 3? this problem usually occur if you remove the javascripts to be used to handle the :confirm argument and the csrf meta tag. On Fri, Feb 11, 2011 at 11:46 PM, pete peterbattag...@gmail.com wrote: Hi- I encountered a problem I have never seen before. For some reason,