diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-04 17:58:18 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-04 17:58:18 -0500 |
commit | e587dc3fab34724d06eceb042c6e9eed6a7d95f4 (patch) | |
tree | 051b58b2f9e22b305068a58a3b059e49e3b2fbf9 /config | |
parent | d2b1f26cf41c6e1f887069c6c31bf3677416b993 (diff) | |
parent | c6ba6c11c7f0665064efdfc9385a5b8e1deaee50 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 85f063e..a4badf9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,7 @@ Leaguer::Application.routes.draw do #creates sessions as a resource but limits it to these actions match '/signup', to: 'users#new', via: 'get' match '/signin', to: 'sessions#new', via: 'get' - match '/signout', to: 'sessions#destroy', via: 'get' + match '/signout', to: 'sessions#destroy', via: 'delete' resources :sessions, only: [:new, :create, :destroy] |