Class: Layouts::Flash
- Inherits:
-
Minimal::Template
- Object
- Minimal::Template
- Layouts::Flash
- Defined in:
- app/views/layouts/_flash.html.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
3 4 5 6 7 |
# File 'app/views/layouts/_flash.html.rb', line 3 def to_html controller.flash.each do |name, value| div value, :id => "flash_#{name}", :class => "flash #{name}" end end |