I'm trying to work out how devise controls sign outs in a rails 3 app. I look at the routes for destroy session and it's
destroy_hr_partner_session GET /hr_partners/sign_out(.:format) {:action=>"destroy", :controller=>"devise/sessions"}
However, I cannot find a devise controller, or a session controller for that matter.
Clearly I;m missing something, can someone explain how this works?
Specifically, I need to customise the redirect after a session is destroyed
G