Method: Conduit::Core::Render#render_with_layout
- Defined in:
- lib/conduit/core/render.rb
#render_with_layout(file) ⇒ Object
Render the file with a layout
e.g.
> render_layout(:template)
58 59 60 61 62 |
# File 'lib/conduit/core/render.rb', line 58 def render_with_layout(file) render_template(:layout) do render_template(file) end end |