Created
July 7, 2012 22:22
-
-
Save bhserna/3068314 to your computer and use it in GitHub Desktop.
User-centric Routing with Devise and Rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
authenticated do | |
root :to => 'users#home' | |
end | |
root :to => 'pages#home' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment