Module: Localite::Filter

Defined in:
lib/localite/filter.rb

Defined Under Namespace

Modules: ControllerFilter, ControllerMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



45
46
47
48
49
# File 'lib/localite/filter.rb', line 45

def self.included(klass)
  klass.send :include, ControllerMethods
  klass.send :helper_method, :current_locale
  klass.send :around_filter, ControllerFilter
end