diff options
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index a4f1f66..75898fd 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: 'delete' resources :pms |