summaryrefslogtreecommitdiff
path: root/app/views/layouts/_messages.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/_messages.html.haml')
-rw-r--r--app/views/layouts/_messages.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_messages.html.haml b/app/views/layouts/_messages.html.haml
index 80e34d4..a3bbbac 100644
--- a/app/views/layouts/_messages.html.haml
+++ b/app/views/layouts/_messages.html.haml
@@ -2,4 +2,4 @@
- if msg.is_a?(String)
%div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
%a.close{"data-dismiss" => "alert"} ×
- = content_tag :div, msg, :id => "flash_#{name}"
+ = content_tag :div, format_flash(msg), :id => "flash_#{name}"