diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-25 15:24:58 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2011-07-26 16:30:48 +0100 |
commit | 708f8d6277bd0f218f8b85c1cc741fa2917fcb44 (patch) | |
tree | ec0e2c3e5914ae68e520fd0624f3cea5f0a604c1 /app/controllers/help_controller.rb | |
parent | 91ac8ef4cf0652d1632423d532032d11d4ddf409 (diff) |
Add cache headers to various pages (in three categories: short, medium, and long).
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r-- | app/controllers/help_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index ab1ef5c5f..c6d246b4c 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -10,6 +10,8 @@ class HelpController < ApplicationController # we don't even have a control subroutine for most help pages, just see their templates + before_filter :long_cache + def unhappy @info_request = nil if params[:url_title] |