Baba Bobo wrote: > Just tested even adding the following short version, also works fine: > > map.connect '/users/:id/', :controller => 'users', :action => 'destroy'
sorry just tested while this short version fixes the 'destroy' method but it breaks the 'new' method so you will have to use the above mentioned full version which is: map.connect '/users/:id/', :controller => 'users', :action => 'destroy', :id => /\d+/ -- 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 [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 -~----------~----~----~----~------~----~------~--~---

