anonymous user tracking fix
parent
63eb60b9c1
commit
dcc7e2ff82
|
@ -7,7 +7,7 @@ class Application < Merb::Controller
|
|||
if session[:user_id]
|
||||
(@_user ||= User.find(session[:user_id]))
|
||||
else
|
||||
(cookies[:session_id] ||= session[:session_id])
|
||||
(cookies[:anonymous_id] ||= session.session_id)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue