Module: ResourceController::ActionControllerExtension

Defined in:
lib/resource_controller.rb

Instance Method Summary collapse

Instance Method Details

#resource_controller(*args) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/resource_controller.rb', line 10

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