fix for admin has no orbit menu
This commit is contained in:
parent
98e8f5f607
commit
17195a9a23
|
@ -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
|
||||||
|
|
Reference in New Issue