ignore flash username for error display on signin

This commit is contained in:
Kyle Drake 2014-07-21 13:11:57 -05:00
parent 6a26c3115d
commit b2a2281ff7

View file

@ -11,7 +11,7 @@
<% if flash.keys.length > 0 %>
<div class="alert alert-block">
<p>
<% flash.keys.each do |key| %>
<% flash.keys.select {|s| s == :error}.each do |key| %>
<%= flash[key] %>
<% end %>
</p>