summaryrefslogtreecommitdiff
path: root/users/config/routes.rb
blob: 522c40caa66fccb0de664e40d74931e6335262ab (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, :only => [:new, :create]

end