diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-07-25 15:24:58 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-07-25 15:24:58 +0100 |
commit | 04927e448f99f67bbfde88dd466f03fb23373b28 (patch) | |
tree | fabc9d81ab8d27452bd49c6f988afbd7a3d3644a /app/controllers/track_controller.rb | |
parent | 1e33a67f9e3e282ce83c18127624f74bb5840549 (diff) |
Add cache headers to various pages (in three categories: short, medium, and long).
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r-- | app/controllers/track_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb index 10b3418bd..e06701a5f 100644 --- a/app/controllers/track_controller.rb +++ b/app/controllers/track_controller.rb @@ -11,6 +11,8 @@ class TrackController < ApplicationController protect_from_forgery # See ActionController::RequestForgeryProtection for details + before_filter :medium_cache + # Track all updates to a particular request def track_request @info_request = InfoRequest.find_by_url_title(params[:url_title]) |