diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-03-04 16:18:44 -0800 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-03-04 16:18:44 -0800 |
commit | c48f20cf5a80333726aa3fb2bd992be99af09ce2 (patch) | |
tree | 4906a59b1336b69bc06ebb44ba192954f314b95e /app/controllers/admin_request_controller.rb | |
parent | 2a193d3bc74b812bd9ddee9d7520ca1e98007511 (diff) | |
parent | 34bd940584dcdf7c1387f9a68110fed630aca85f (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.rb | 2 |
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 + '" <<a href="mailto:' + email + '">' + email + '</a>> 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}\" <<a href=\"mailto:#{email}\">#{email}</a>> 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 |