Module: Growlyflash::ControllerAdditions

Defined in:
lib/growlyflash/controller_additions.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/growlyflash/controller_additions.rb', line 3

def self.included(base)
  base.module_eval do
    extend ClassMethods
    if respond_to?(:helper_method)
      helper_method :growlyflash_static_notices, :growlyhash, :growlyflash_tag
    end
  end
end