Sha256: e22abbcf2cdc3c3dc07f6a22e138901145150170232b866c8a2eefec10fefaa6
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 Bytes
Contents
module Prosperity module LayoutsHelper def parent_layout(layout) @view_flow.set(:layout, output_buffer) output = render(:file => "layouts/#{layout}") self.output_buffer = ActionView::OutputBuffer.new(output) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prosperity-0.0.11 | app/helpers/prosperity/layouts_helper.rb |
prosperity-0.0.10 | app/helpers/prosperity/layouts_helper.rb |