about summary refs log tree commit diff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index 892bcd596..d2cff5e30 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -13,13 +13,7 @@
       .content
         %h2= yield :page_title
 
-        - if flash[:notice]
-          .flash-message.notice
-            %strong= flash[:notice]
-
-        - if flash[:alert]
-          .flash-message.alert
-            %strong= flash[:alert]
+        = render 'flashes'
 
         = yield