Overiding routes in rails3

I have typus and devise almost integrated. However I’m trying to
the “Sign out” link with typus and
redirect it to devise/sessions#destroy


65 # Override typus TODO this does not work
66 delete “/admin/session(.:format)” => ‘devise/sessions#destroy’,
:as =>

However I keep getting Abstract::Controller:ActionNotFound exceptions
when I

restclient delete http://localhost:3000/admin/session

Am I doing this the right way

Brad P.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs