From cde35e3461bf49a4b32aefca7b8556e344c8090e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 4 Mar 2014 18:48:38 -0500 Subject: login/logout buttons --- config/routes.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 90abea4..022ce42 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,13 +1,7 @@ Leaguer::Application.routes.draw do - resources :sessions, only: [:new, :create, :destroy] - - #creates sessions as a resource but limits it to these actions - match '/signup', to: 'users#new', via: 'get' - match '/signin', to: 'sessions#new', via: 'get' - match '/signout', to: 'sessions#destroy', via: 'get' - + resources :sessions, only: [:new, :create, :destroy] resources :users -- cgit v1.2.3-54-g00ecf