Msan Msan 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?

Perhaps you should be using a singleton resource for sessions the way 
Authlogic does?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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.

Reply via email to