Module: Roda::RodaPlugins::Flash::InstanceMethods
- Defined in:
- lib/roda/plugins/flash.rb
Instance Method Summary collapse
-
#flash ⇒ Object
Access the flash hash for the current request, loading it from the session if it is not already loaded.
Instance Method Details
#flash ⇒ Object
Access the flash hash for the current request, loading it from the session if it is not already loaded.
86 87 88 |
# File 'lib/roda/plugins/flash.rb', line 86 def flash @_flash ||= FlashHash.new(session[KEY]) end |