Module: Walruz::ControllerMixin

Defined in:
lib/walruz/controller_mixin.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/walruz/controller_mixin.rb', line 4

def self.included(base)
  base.class_eval do
    include InstanceMethods
    extend ClassMethods
    helper_method(:policy_params)
  end
end