Created
June 5, 2011 21:40
-
-
Save victorbstan/1009454 to your computer and use it in GitHub Desktop.
Flash message generator for Padrino views
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.flash=[:error, :warning, :notice].map { |type| flash_tag(type, :id => "flash_#{type}") }.join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment