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.



34
35
36
# File 'lib/roda/plugins/padrino_render.rb', line 34

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