/ Published in: Rails
A quick and simple way of having any flash messages, from railscast #18
Expand |
Embed | Plain Text
<% flash.each do |key, msg| %> <%= content_tag :div, msg, :id => key %> <% end %>
You need to login to post a comment.
