Module: YouthTree::ControllerExt::ClassMethods

Defined in:
lib/youth_tree/controller_ext.rb

Instance Method Summary collapse

Instance Method Details

#use_controller_exts(*args) ⇒ Object Also known as: uses_controller_exts



49
50
51
52
53
54
# File 'lib/youth_tree/controller_ext.rb', line 49

def use_controller_exts(*args)
  args.each do |k|
    mod = YouthTree::ControllerExt[k]
    include mod if mod.present?
  end
end