summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-02 20:06:40 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-02 20:06:40 -0500
commite6b2993ad072d0cad2e52997c7957aae0a03415c (patch)
treebe7b89d7a81b934d4d5376abd17db9e769b3fd43 /config/routes.rb
parente5e485551fb757873f64cc35505426bec1b5da0d (diff)
I changed the user controller
Diffstat (limited to 'config/routes.rb')
-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