aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/public_body_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-09-06 09:18:54 +0100
committerFrancis Irving <francis@mysociety.org>2010-09-06 09:18:54 +0100
commit539e3d0f3cdf2aee836ea7b784e91d4ad1a9fbf1 (patch)
tree009b11ad82d5b0d28cc508271980696ee0d681ae /app/controllers/public_body_controller.rb
parent3c7ba5313c30581cbe82056aa3462e4b39729523 (diff)
Rename function so doesn't say "squid" in it
Diffstat (limited to 'app/controllers/public_body_controller.rb')
-rw-r--r--app/controllers/public_body_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/public_body_controller.rb b/app/controllers/public_body_controller.rb
index 4ca8d1404..98251a554 100644
--- a/app/controllers/public_body_controller.rb
+++ b/app/controllers/public_body_controller.rb
@@ -97,7 +97,7 @@ class PublicBodyController < ApplicationController
end
end
- cache_in_squid
+ set_http_header_cache_expiry
end
# Used so URLs like /local/islington work, for use e.g. writing to a local paper.