Method: Releaf::Builders::Page::LayoutBuilder#body_content_blocks
- Defined in:
- app/builders/releaf/builders/page/layout_builder.rb
#body_content_blocks ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'app/builders/releaf/builders/page/layout_builder.rb', line 40 def body_content_blocks parts = [] parts << header if feature_available?(:header) parts << if feature_available?(:sidebar) parts << tag(:main, id: :main){ yield } if feature_available?(:main) parts << notifications parts << assets(:javascripts, :javascript_include_tag) parts end |