summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-09-03 11:06:20 +0200
committerAzul <azul@leap.se>2013-09-03 11:06:20 +0200
commite81357bcb0be14a08aa185680b8b98ea92e45fab (patch)
tree3b13dc010b3a58b7d386adeb11a4da25cfc7ad95 /users
parent78e918609a2a5cf9e0222dab81888de968e33222 (diff)
use the login logout named route instead of sessions resource
The main part of the sessions resource now lives in the API. the two named routes are just fine for what is left.
Diffstat (limited to 'users')
-rw-r--r--users/config/routes.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb
index d4d5933..ccecfd5 100644
--- a/users/config/routes.rb
+++ b/users/config/routes.rb
@@ -10,7 +10,6 @@ Rails.application.routes.draw do
get "login" => "sessions#new", :as => "login"
delete "logout" => "sessions#destroy", :as => "logout"
- resources :sessions, :only => [:new, :create, :update]
get "signup" => "users#new", :as => "signup"
resources :users, :except => [:create, :update] do