diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-04 10:57:54 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-04 10:57:54 -0500 |
commit | 1d90f33bf07f9610d358c6c9c56754784b050541 (patch) | |
tree | 4d7385e543e0ed77d43a7ed8fd4045087f17848a /config | |
parent | 42cf035f9023e773a20d2b14a984ba0a5fef9c60 (diff) |
simplify the sessions routing
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb index d3f6654..022ce42 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,11 +1,7 @@ Leaguer::Application.routes.draw do - #creates sessions as a resource but limits it to these actions - resources :sessions, only: [:new, :create, :destroy] - - match '/signup', to: 'users#new', via: 'get' - match '/signin', to: 'sessions#new', via: 'get' - match '/signout', to: 'sessions#destroy', via: 'get' + #creates sessions as a resource but limits it to these actions + resources :sessions, only: [:new, :create, :destroy] resources :users |