From 9ffbadea9a4373aaed0e65055a9eec6db57beec1 Mon Sep 17 00:00:00 2001 From: francis Date: Fri, 12 Sep 2008 19:07:28 +0000 Subject: Page cache attachments. --- app/controllers/request_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 7614aee73..fe4904db7 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: request_controller.rb,v 1.106 2008-09-03 09:03:57 francis Exp $ +# $Id: request_controller.rb,v 1.107 2008-09-12 19:07:28 francis Exp $ class RequestController < ApplicationController @@ -329,6 +329,7 @@ class RequestController < ApplicationController end # Download an attachment + caches_page :get_attachment def get_attachment @incoming_message = IncomingMessage.find(params[:incoming_message_id]) @info_request = @incoming_message.info_request -- cgit v1.2.3