Module: ResourceController::ActionControllerExtension

Defined in:
lib/resource_controller.rb

Instance Method Summary collapse

Instance Method Details

#resource_controller(*args) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/resource_controller.rb', line 16

def resource_controller(*args)
  include ResourceController::Controller
  
  if args.include?(:singleton)
    include ResourceController::Helpers::SingletonCustomizations
  end
end