[LRUG] REST and Delete without JavaScript

Matthew Rudy Jacobs matthewrudyjacobs at gmail.com
Fri Mar 27 10:12:48 PDT 2009


2009/3/27 Tom Armitage <tom at infovore.org>:
> So: in your routes, you add a :member route:
>
> map.resources :forums, :member => {:delete => :get}
>
> and your delete controller simply renders an "are you sure?" form. That form:

I have done the same recently.
It works nice.



More information about the Chat mailing list