planetargon / flash-message-conductor
- Source
- Commits
- Network (16)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Wed Aug 27 23:10:40 -0700 2008 | |
| |
README | Wed Aug 27 23:41:25 -0700 2008 | |
| |
Rakefile | Mon Oct 12 14:39:05 -0700 2009 | |
| |
VERSION.yml | Mon Oct 12 14:06:38 -0700 2009 | |
| |
examples/ | Thu Aug 28 10:05:37 -0700 2008 | |
| |
flash-message-conductor.gemspec | Mon Oct 12 14:39:05 -0700 2009 | |
| |
lib/ | Mon Jan 19 21:58:28 -0800 2009 | |
| |
rails/ | Mon Oct 12 14:34:26 -0700 2009 |
README
Flash Message Conductor ============ A simple pattern for managing flash messages in your Ruby on Rails application. Example ======= # Controller helpers add_message( 'foo' ) is the equivalent of flash[:message] = 'foo' Controller helpers included: add_message( message ) add_notice( message ) add_error( message ) # View helpers <%= render_flash_messages %> produces: <div id="flash_messages"> <p class="message">You have successfully done XYZ...</p> </div> # or... if you set an error <div id="flash_messages"> <p class="error">Oops! Something went bonkers!</p> </div> Copyright (c) 2008 Planet Argon, released under the MIT license
