Created
May 5, 2013 17:55
-
-
Save petehuang/5521566 to your computer and use it in GitHub Desktop.
redirecting to users index after a user profile edit. why does this work?
This file contains 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
devise_for :users do | |
get 'users', :to => 'users#show', :as => :user_root | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment