Created
November 19, 2012 14:08
-
-
Save colormeruby/4110834 to your computer and use it in GitHub Desktop.
Devise: Routes Information
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 Configuration | |
devise_for :users | |
devise_scope :user do | |
get "/login", :to => "devise/sessions#new" # Add a custom sign in route for user sign in | |
get "/logout", :to => "devise/sessions#destroy" # Add a custom sing out route for user sign out | |
get "/register", :to => "devise/registrations#new" # Add a Custom Route for Registrations | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment