aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-07-22 01:37:53 +0100
committerFrancis Irving <francis@mysociety.org>2010-07-22 01:37:53 +0100
commit677b93df762176a0be75ab3ceba712264977c30c (patch)
tree1a1f4d8d23b1a589e9b71c87ea38fbb76db5dff1 /app/controllers/request_controller.rb
parent07707a00b935f896e81a74299b418d57db1419e1 (diff)
Embed Google Docs Viewer when that lets us do more View as HTML
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 0664093c3..b2f6e8631 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -599,6 +599,7 @@ class RequestController < ApplicationController
view_html_prefix = render_to_string :partial => "request/view_html_prefix"
html.sub!("<prefix-here>", view_html_prefix)
+ html.sub!("<attachment-url-here>", CGI.escape(@attachment_url))
@incoming_message.html_mask_stuff!(html)