Class: Kuhsaft::PlaceholderBrick
- Defined in:
- app/models/kuhsaft/placeholder_brick.rb
Constant Summary collapse
- PARTIAL_PATH =
'/app/views/kuhsaft/placeholder_bricks/partials/_*.haml'
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Brick
#available_display_styles, #backend_label, #brick_list_type, #has_siblings?, #parents, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_class, #to_style_id, #update_fulltext
Methods included from BrickList
#allowed_brick_types, #brick_types, #collect_fulltext, included, #renders_own_childs?, #to_brick_item_id, #to_brick_list_id, #uploader?, #user_can_delete?, #user_can_save?
Class Method Details
.available_partials ⇒ Object
7 8 9 |
# File 'app/models/kuhsaft/placeholder_brick.rb', line 7 def self.available_partials @partials ||= Kuhsaft::PartialExtractor.new.partials(PARTIAL_PATH) end |
Instance Method Details
#user_can_add_childs? ⇒ Boolean
11 12 13 |
# File 'app/models/kuhsaft/placeholder_brick.rb', line 11 def user_can_add_childs? false end |