Skip to content

Commit

Permalink
added reminder to display the flash
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Jan 20, 2010
1 parent f4df580 commit 46c0e5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions generators/clearance/templates/README
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,12 @@ The constant is used by mailers to generate URLs in emails.

rake db:migrate

4. Make sure you're displaying flashes somewhere. For instance, in a layout:

<div id="flash">
<% flash.each do |key, value| -%>
<div id="flash_<%= key %>"><%=h value %></div>
<% end -%>
</div>

*******************************************************************************

0 comments on commit 46c0e5d

Please sign in to comment.