Skip to content

Instantly share code, notes, and snippets.

@raine
Created August 30, 2011 10:43
Show Gist options
  • Select an option

  • Save raine/1180637 to your computer and use it in GitHub Desktop.

Select an option

Save raine/1180637 to your computer and use it in GitHub Desktop.
devise_for :users,
:controllers => { :registrations => 'registrations', :confirmations => 'confirmations' },
:path_names => { :sign_in => 'login', :sign_up => 'signup', :sign_out => 'logout' }
devise_scope :user do
get 'signup', :to => 'registrations#new'
get 'login', :to => 'devise/sessions#new'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment