Module: Adminterface::Extensions::Inputs::Base::ActiveAdminConfig

Includes:
Configs::Finders
Included in:
Adminterface::Extensions::Inputs::Base
Defined in:
lib/adminterface/extensions/inputs/base/active_admin_config.rb

Instance Method Summary collapse

Instance Method Details

#active_admin_configObject



8
9
10
11
12
# File 'lib/adminterface/extensions/inputs/base/active_admin_config.rb', line 8

def active_admin_config
  template.active_admin_config
rescue => _e
  ::ActiveAdmin.application
end

#inputs_configObject



14
15
16
# File 'lib/adminterface/extensions/inputs/base/active_admin_config.rb', line 14

def inputs_config
  active_admin_config.components.dig(:inputs)
end