Overiding routes in rails3

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

config/routes.rb

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

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

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

Am I doing this the right way


Brad P.
http://xtargets.com

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