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
Methods inherited from Brick
#backend_label, #brick_list_type, #parents, #set_locale, #set_position, #to_edit_childs_partial_path, #to_edit_partial_path, #to_style_class, #to_style_id
Methods included from BrickList
#collect_fulltext, included, #renders_own_childs?, #to_brick_item_id, #to_brick_list_id, #user_can_add_childs?, #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 |