Class: Para::Component::Settings

Inherits:
Base show all
Defined in:
app/models/para/component/settings.rb

Instance Method Summary collapse

Methods inherited from Base

configurable_on, #exportable?, #history?, #main_navigation_name, model_name, #name, register, #subclassable?, #to_param, #update_with

Methods inherited from ApplicationRecord

with_belongs_to_optional_option_if_needed

Instance Method Details

#default_form_actionsObject



12
13
14
# File 'app/models/para/component/settings.rb', line 12

def default_form_actions
  [:submit]
end

#settingsObject



8
9
10
# File 'app/models/para/component/settings.rb', line 8

def settings
  eval(configuration['settings'])
end