i think you should, resources user, :except => :destroy then match you path here
On Mon, Sep 13, 2010 at 11:55 AM, Mauro <[email protected]> wrote: > On 13 September 2010 16:02, radhames brito <[email protected]> wrote: > > the default destroy route is > > /controller/id , :method=> delete > > {:action=>"destroy", :controller=>"sessions", :id=>"name.surname"} > > > > but your destroy action does not need an id really, > > So I've to change the default destroy route for sessions resource? > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [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.

