Skip to content

Instantly share code, notes, and snippets.

@baileylo
Created October 6, 2010 08:24
Show Gist options
  • Save baileylo/613012 to your computer and use it in GitHub Desktop.
Save baileylo/613012 to your computer and use it in GitHub Desktop.
LoginApp::Application.routes.draw do
resources :users, :user_sessions
match 'login' => 'user_sessions#new', :as => :login
match 'logout' => 'user_sessions#destroy', :as => :logout
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment