Add flash message display

This commit is contained in:
Graham Kaplan
2014-04-05 19:16:15 -07:00
parent ab42618bbd
commit c9a09de740
+2
View File
@@ -35,6 +35,8 @@
= render 'shared/navbar'
%main
- flash.each do |key, msg|
= content_tag :div, msg, :id => key
- if has_banner?
%header#banner{banner_attrs(yield_or_default :banner_image)}
= yield :banner