forked from planet-argonbot/flash-message-conductor
-
Notifications
You must be signed in to change notification settings - Fork 1
A simple pattern for managing flash messages in your Ruby on Rails application.
License
rds/flash-message-conductor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Flash Message Conductor ============ A simple pattern for managing flash messages in your Ruby on Rails application. Example ======= # Controller helpers add_success( 'foo' ) is the equivalent of flash[:success] = 'foo' Controller helpers included: add_success( message ) add_notice( message ) add_failure( message ) # View helpers <%= render_flash_messages %> produces: <div id="flash"> <p class="success">You have successfully done XYZ...</p> </div> # or... if you set an failure <div id="flash"> <p class="failure">Oops! Something went bonkers!</p> </div> Copyright (c) 2008 Planet Argon, released under the MIT license
About
A simple pattern for managing flash messages in your Ruby on Rails application.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 100.0%