Devise and Rails 3 redirection
In my Rails app I use Devise as the authentication system. I have successfully installed the Devide gem and its working fine.
But now I want to redirect user to a different path after they login, ex:
dash_board#home
How can I define that in Devise? I'm confused as it doesn't have any controllers shows (as sessions, users etc..). I can see them in the gem file, but I guess changing the gem is not a good opti开发者_C百科on
I'm using Rails 3, Devise 1.1.3
精彩评论