Using Rails 3.2.8, Devise 2.1.2, & Simpleform 2.0.2
I’m trying to redirect user upon successful sign in & sign out using devise.
So do I need to modify the controller if so how (specifics)?
Or do I need to implement the redirect helper, if so where do I put the helper?
Thanks a ton.
You should be able to do this by adding following to your application_controller
I think resource is a User class, so you can check for type and redirect them to appropriate path.