diff --git a/app/helpers/layouts_helper.rb b/app/helpers/layouts_helper.rb index cc924fae..e9025c2b 100644 --- a/app/helpers/layouts_helper.rb +++ b/app/helpers/layouts_helper.rb @@ -4,7 +4,6 @@ module LayoutsHelper def parent_layout(layout) @view_flow.set(:layout, output_buffer) output = render(template: "layouts/#{layout}") - @haml_buffer.buffer.replace output self.output_buffer = ActionView::OutputBuffer.new(output) end end