Module: Roda::RodaPlugins::PadrinoRender::InstanceMethods

Defined in:
lib/roda/plugins/padrino_render.rb

Instance Method Summary collapse

Instance Method Details

#render(template, opts = OPTS) ⇒ Object

Call view with the given arguments, so that render uses a layout by default.



36
37
38
# File 'lib/roda/plugins/padrino_render.rb', line 36

def render(template, opts=OPTS)
  view(template, opts)
end