aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2009-09-15 18:26:23 +0000
committerfrancis <francis>2009-09-15 18:26:23 +0000
commit33fd5b4a0ce59dfee960d35910e8c4bdee14bb28 (patch)
tree5803a4cf8750b29abfd9c79c413a8968ef318b15 /app/controllers/request_controller.rb
parentf5c14bf78e165e8b2efb0327d8171429f5585df6 (diff)
Make a few more calls modify strings in place to reduce memory use.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 89b9c05d8..6e3137dfd 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.182 2009-09-15 17:45:50 francis Exp $
+# $Id: request_controller.rb,v 1.183 2009-09-15 18:26:23 francis Exp $
class RequestController < ApplicationController
@@ -562,7 +562,7 @@ class RequestController < ApplicationController
view_html_prefix = render_to_string :partial => "request/view_html_prefix"
html.sub!("<prefix-here>", view_html_prefix)
- html= @incoming_message.html_mask_stuff(html)
+ @incoming_message.html_mask_stuff!(html)
response.content_type = 'text/html'
render :text => html