From dcc7e2ff8276fadce03a8413061a2acc4d7874ff Mon Sep 17 00:00:00 2001 From: Coleman Date: Fri, 17 Oct 2008 17:02:22 -0500 Subject: [PATCH] anonymous user tracking fix --- app/controllers/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application.rb b/app/controllers/application.rb index e72a272..5971a60 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -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