Method: Innate::Session::Flash#rotate!
- Defined in:
- lib/innate/session/flash.rb
#rotate! ⇒ Object
Rotation means current values are assigned as old values for the next request.
81 82 83 84 |
# File 'lib/innate/session/flash.rb', line 81 def rotate! old = session.delete(:FLASH) session[:FLASH_PREVIOUS] = old if old end |