fix for admin has no orbit menu

This commit is contained in:
Matthew K. Fu JuYuan 2012-09-12 10:10:09 +08:00 committed by Christophe Vilayphiou
parent 98e8f5f607
commit 17195a9a23
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ module ApplicationHelper
def current_or_guest_user def current_or_guest_user
if current_user if current_user
if session[:guest_user_id] if session[:guest_user_id]
logging_in
guest_user.destroy guest_user.destroy
session[:guest_user_id] = nil session[:guest_user_id] = nil
end end