aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_request_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-03-04 16:18:44 -0800
committerLouise Crow <louise.crow@gmail.com>2013-03-04 16:18:44 -0800
commitc48f20cf5a80333726aa3fb2bd992be99af09ce2 (patch)
tree4906a59b1336b69bc06ebb44ba192954f314b95e /app/controllers/admin_request_controller.rb
parent2a193d3bc74b812bd9ddee9d7520ca1e98007511 (diff)
parent34bd940584dcdf7c1387f9a68110fed630aca85f (diff)
Merge remote-tracking branch 'openaustralia_github/yet_more_assorted_escaping_fixes' into develop
Diffstat (limited to 'app/controllers/admin_request_controller.rb')
-rw-r--r--app/controllers/admin_request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb
index ed8de7755..15d66aa0d 100644
--- a/app/controllers/admin_request_controller.rb
+++ b/app/controllers/admin_request_controller.rb
@@ -304,7 +304,7 @@ class AdminRequestController < AdminController
post_redirect.save!
url = main_url(confirm_url(:email_token => post_redirect.email_token, :only_path => true))
- flash[:notice] = 'Send "' + name + '" &lt;<a href="mailto:' + email + '">' + email + '</a>&gt; this URL: <a href="' + url + '">' + url + "</a> - it will log them in and let them upload a response to this request.".html_safe
+ flash[:notice] = ("Send \"#{name}\" &lt;<a href=\"mailto:#{email}\">#{email}</a>&gt; this URL: <a href=\"#{url}\">#{url}</a> - it will log them in and let them upload a response to this request.").html_safe
redirect_to request_admin_url(info_request)
end