Class: Proscenium::UI::Flash
- Defined in:
- lib/proscenium/ui/flash.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Phlex
Methods included from Phlex::AssetInclusions
#include_assets, #include_javascripts, #include_stylesheets
Methods included from Phlex::CssModules
#after_template, #before_template, included, #process_attributes
Methods included from CssModule
Methods included from SourcePath
Class Method Details
.source_path ⇒ Object
7 8 9 |
# File 'lib/proscenium/ui/flash.rb', line 7 def self.source_path super / '../flash/index.rb' end |
Instance Method Details
#view_template ⇒ Object
11 12 13 |
# File 'lib/proscenium/ui/flash.rb', line 11 def view_template pui_flash data: { flash: helpers.flash.to_hash } end |