From a695fc71fcfe8de4329e2a583596c1cdbf0b6f03 Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Tue, 25 Oct 2011 12:26:50 -0700 Subject: [PATCH] fix logout issue for some users --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index bfabf4f..df14745 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,9 @@ Entrydns::Application.routes.draw do devise_for :users + devise_scope :user do + get 'users/sign_out', :to => "devise/sessions#destroy" + end resources :domains do as_routes