Class: Adminpanel::Section
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Adminpanel::Section
- Defined in:
- app/models/adminpanel/section.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.form_methods ⇒ Object
21 22 23 24 25 26 27 28 29 30 |
# File 'app/models/adminpanel/section.rb', line 21 def self.form_methods [ {'description' => {'name' => 'Descripcion'}}, {'name' => {'name' => 'name'}}, {'key' => {'name' => 'key'}}, {'page' => {'name' => 'page'}}, # {'key' => {'name' => 'key'}}, ] end |
Instance Method Details
#simple_name ⇒ Object
32 33 34 |
# File 'app/models/adminpanel/section.rb', line 32 def simple_name "Section" end |