Module: Lytix::ControllerMethods

Defined in:
lib/lytix/controller_methods.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/lytix/controller_methods.rb', line 3

def self.included(base)
  base.class_eval do
    extend ClassMethods
    include InstanceMethods

    before_filter :google_analytics
    after_filter :insert_google_analytics

    helper_method :google_analytics
  end
end