Class: Para::Component::Settings
- Inherits:
-
Base
- Object
- ActiveRecord::Base
- ApplicationRecord
- Base
- Para::Component::Settings
- 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_actions ⇒ Object
12 13 14 |
# File 'app/models/para/component/settings.rb', line 12 def default_form_actions [:submit] end |
#settings ⇒ Object
8 9 10 |
# File 'app/models/para/component/settings.rb', line 8 def settings eval(configuration['settings']) end |