Module: Generators::Avo::Concerns::ParentController

Extended by:
ActiveSupport::Concern
Included in:
Generators::Avo::ControllerGenerator, ResourceGenerator
Defined in:
lib/generators/avo/concerns/parent_controller.rb

Instance Method Summary collapse

Instance Method Details

#parent_controllerObject



14
15
16
# File 'lib/generators/avo/concerns/parent_controller.rb', line 14

def parent_controller
  options["parent-controller"] || ::Avo.configuration.resource_parent_controller
end