summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index bc995e3..d3f6654 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -3,9 +3,9 @@ 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: 'delete'
+ match '/signup', to: 'users#new', via: 'get'
+ match '/signin', to: 'sessions#new', via: 'get'
+ match '/signout', to: 'sessions#destroy', via: 'get'
resources :users