From a0ee84231fafda9585506b92ff85bd9ac1ccd905 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Fri, 8 Feb 2013 11:19:15 +0000 Subject: Mark flash with markup in it as html safe. --- app/controllers/admin_request_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/admin_request_controller.rb') 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 + '" <' + email + '> this URL: ' + url + " - it will log them in and let them upload a response to this request." + flash[:notice] = 'Send "' + name + '" <' + email + '> this URL: ' + url + " - it will log them in and let them upload a response to this request.".html_safe redirect_to request_admin_url(info_request) end -- cgit v1.2.3