Module: Qbrick::CMSModel::ClassMethods
- Defined in:
- app/models/qbrick/cms_model.rb
Instance Method Summary collapse
Instance Method Details
#editable_attributes(*attributes) ⇒ Object
16 17 18 19 20 21 22 |
# File 'app/models/qbrick/cms_model.rb', line 16 def editable_attributes(*attributes) if attributes.empty? @shoestrap_editable_attributes else @shoestrap_editable_attributes = attributes end end |
#index_attributes(*attributes) ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/models/qbrick/cms_model.rb', line 8 def index_attributes(*attributes) if attributes.empty? @shoestrap_index_attributes else @shoestrap_index_attributes = attributes end end |