fix for admin has no orbit menu
This commit is contained in:
parent
e486ac5d25
commit
02cebc242f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue