summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-04 18:53:04 -0500
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-04 18:53:04 -0500
commitaebb2153938d884ac2c2f3516f682c987b4805ca (patch)
tree369b54c3b1f495ee7f54d06691c00f9ff26e3df5 /config
parent66d5669dbcc042317ca5d10759276ea5813f7081 (diff)
parent4cdd4e361ad691d524f9ee6163b40ef78d9938c4 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
1 files changed, 1 insertions, 7 deletions
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