Class: GacoCms::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/gaco_cms/config.rb

Class Method Summary collapse

Class Method Details

.add_extra_field(key, settings) ⇒ Object

Parameters:

  • settings (Hash<:tpl, :translatable, :label, :default_value_tpl?>)


15
16
17
# File 'lib/gaco_cms/config.rb', line 15

def self.add_extra_field(key, settings)
  extra_fields[key] = settings
end