Method: WebPipe::Flash#add_flash_now

Defined in:
lib/web_pipe/extensions/flash/flash.rb

#add_flash_now(key, value) ⇒ Object

Adds an item to the flash bag to be consumed by the same request in process.



40
41
42
43
# File 'lib/web_pipe/extensions/flash/flash.rb', line 40

def add_flash_now(key, value)
  flash.now[key] = value
  self
end