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
|
||||
if current_user
|
||||
if session[:guest_user_id]
|
||||
logging_in
|
||||
guest_user.destroy
|
||||
session[:guest_user_id] = nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue