Module: FlashesHelper
- Defined in:
- app/helpers/flashes_helper.rb
Instance Method Summary collapse
Instance Method Details
#flashes ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/helpers/flashes_helper.rb', line 2 def flashes safe_join(flash.keys.map do |key| content_tag :aside, :class => ["flash", "flash-#{key.to_s.parameterize}"] do flash[key] end end) end |