From 98addf135eccf6726adc7eeae818fd62e8acf3d7 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Fri, 3 Sep 2010 13:50:38 +0100 Subject: Don't set cookies in feed filters --- app/controllers/application_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 959caf7ef..e2f303c05 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -37,6 +37,7 @@ class ApplicationController < ActionController::Base # Set cookie expiry according to "remember me" checkbox, as per "An easier # and more flexible hack" on this page: # http://wiki.rubyonrails.org/rails/pages/HowtoChangeSessionOptions + # Note: This is skipped in TrackController before_filter :session_remember_me def session_remember_me # Reset the "sliding window" session expiry time. @@ -189,6 +190,7 @@ class ApplicationController < ActionController::Base end # Default layout shows user in corner, so needs access to it + # Note: This is skipped in TrackController before_filter :authentication_check def authentication_check if session[:user_id] -- cgit v1.2.3