aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index edc80c5b9..03a5c6884 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -5,7 +5,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: general_controller.rb,v 1.49 2009-07-14 23:02:06 francis Exp $
+# $Id: general_controller.rb,v 1.50 2009-07-14 23:30:37 francis Exp $
class GeneralController < ApplicationController
@@ -30,7 +30,7 @@ class GeneralController < ApplicationController
@successful_requests = []
end
- expires_in 10.minutes, :private => false # cache via squid reverse proxy
+ cache_in_squid
end
# Just does a redirect from ?query= search to /query