Module: MerbHasFlash::ControllerExtension

Defined in:
lib/merb_has_flash/controller_extension.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
# File 'lib/merb_has_flash/controller_extension.rb', line 3

def self.included(base)
  base.send :include, InstanceMethods
  base.class_eval { after :sweep_flash }
end