summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a4f1f66..cbe6c2f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -3,6 +3,8 @@ Leaguer::Application.routes.draw do
#creates sessions as a resource but limits it to these actions
resources :sessions, only: [:new, :create, :destroy]
+ resources :users
+
match 'signup', to: 'users#new', via: 'get'
match 'signin', to: 'sessions#new', via: 'get'
match 'signout', to: 'sessions#destroy', via: 'delete'
@@ -11,8 +13,6 @@ Leaguer::Application.routes.draw do
resources :alerts
- resources :users
-
resources :teams
resources :matches