aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-09-03 13:50:38 +0100
committerFrancis Irving <francis@mysociety.org>2010-09-03 13:50:38 +0100
commit98addf135eccf6726adc7eeae818fd62e8acf3d7 (patch)
treee4eb59a9ac8c6e5e0847c215956eed7d867fe2be /app/controllers/track_controller.rb
parenta4cf6646eb49ed229e762157b511f3369d012f80 (diff)
Don't set cookies in feed filters
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r--app/controllers/track_controller.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb
index 863477c0a..c1186172f 100644
--- a/app/controllers/track_controller.rb
+++ b/app/controllers/track_controller.rb
@@ -8,6 +8,9 @@
# $Id: track_controller.rb,v 1.31 2009-09-02 14:18:26 francis Exp $
class TrackController < ApplicationController
+ # Don't do authentication checks, so we don't set cookie headers for feeds
+ # (so they can be cached by a reverse proxy)
+ skip_before_filter :session_remember_me, :authentication_check
# Track all updates to a particular request
def track_request