diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb index d3f6654..022ce42 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,11 +1,7 @@ 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: 'get' + #creates sessions as a resource but limits it to these actions + resources :sessions, only: [:new, :create, :destroy] resources :users |