blob: 1d144b4909f6b37a9c24609ebc57cbc54290118a (
plain)
1
2
3
4
5
6
7
8
9
10
|
Rails.application.routes.draw do
get "login" => "sessions#new", :as => "login"
get "logout" => "sessions#destroy", :as => "logout"
resources :sessions, :only => [:new, :create, :update, :destroy]
get "signup" => "users#new", :as => "signup"
resources :users
end
|