diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-08 11:19:15 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-08 11:19:15 +0000 |
commit | a0ee84231fafda9585506b92ff85bd9ac1ccd905 (patch) | |
tree | e5e3a5c1a882c7811abb7ef2991120cc8916d56c /app/controllers/admin_request_controller.rb | |
parent | 8b977cffed30693cb3843161eaac05c0ea77bdc5 (diff) |
Mark flash with markup in it as html safe.
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 c7c8d4972..e39d55c7c 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." + 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 |