app/controllers/tramway/page/pages_controller.rb in tramway-page-1.5.4.3 vs app/controllers/tramway/page/pages_controller.rb in tramway-page-1.6
- old
+ new
@@ -13,7 +13,8 @@
if block.block_type.in? %i[header header_with_form]
@links = Tramway::Landing::BlockLinkDecorator.decorate @page.with_navbar_link.active
end
::Tramway::Landing::BlockDecorator.decorate block
end
+ render(layout: false) if @page.page_type.without_layout?
end
end