aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-02-08 11:48:48 +0000
committerLouise Crow <louise.crow@gmail.com>2013-02-08 11:48:48 +0000
commit74602c905e6a122221b49e59bff241b8776a4f1a (patch)
treea2df2b5387235dee36444c1ac3bc097de46cb1e6 /app/controllers/application_controller.rb
parent8686fbdb9ccee126e92dbe7ee15ebb227599d715 (diff)
Mark popup banner as html_safe
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index a946526b8..ed1523f75 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -564,7 +564,7 @@ class ApplicationController < ActionController::Base
end
def set_popup_banner
- @popup_banner = render_to_string(:partial => "general/popup_banner").strip
+ @popup_banner = render_to_string(:partial => "general/popup_banner").strip.html_safe
end
# URL generating functions are needed by all controllers (for redirects),
# views (for links) and mailers (for use in emails), so include them into