Permalink
Browse files

Mostra flash[:alert] no layout

  • Loading branch information...
1 parent ee166d2 commit 897b43212e52080df0c63cfb05a771b0ba499daf @elomar committed Mar 17, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/views/layouts/application.html.erb
@@ -10,6 +10,9 @@
<div class="container">
<%= render 'layouts/cabecalho' %>
<section class="round">
+ <% if flash[:alert] %>
+ <p class="alert"><%= flash[:alert] %></p>
+ <% end %>
<% if flash[:notice] %>
<p class="notice"><%= flash[:notice] %></p>
<% end %>

0 comments on commit 897b432

Please sign in to comment.