Created
March 6, 2012 00:15
-
-
Save fellix/1982389 to your computer and use it in GitHub Desktop.
config devise url
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
| devise_scope :admins do | |
| post '/sign_in', :to => "devise/sessions#create", :as => :admin_session | |
| delete '/sign_out', :to => "devise/sessions#destroy", :as => :destroy_admin_session | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment