summaryrefslogtreecommitdiff
path: root/app/views/layouts/_messages.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-28 20:38:14 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:04:55 -0700
commit4863ce5e78d880f1ca8a1874cd03022afb061f4a (patch)
treea0a5c72333f90f7656633aad39110346f9404e9a /app/views/layouts/_messages.html.haml
parent7d2163263c8e5af7f4d7a2d40cd55eefac188e58 (diff)
new layout for the home buttons
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}"