Module: Nitro::Flashing

Defined in:
lib/nitro/flash.rb

Overview

– This module adds flashing support to the Controllers. ++

Defined Under Namespace

Classes: Flash, FlashNow

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object



9
10
11
12
13
# File 'lib/nitro/flash.rb', line 9

def self.append_features(base)
  super      
  base.before 'flash.discard'
  #base.after 'flash.clean'
end