fix for admin has no orbit menu

This commit is contained in:
Matthew K. Fu JuYuan 2012-09-12 10:10:09 +08:00
parent e486ac5d25
commit 02cebc242f
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