Module: Jubako::Renderer

Extended by:
ActiveSupport::Concern
Defined in:
lib/jubako/renderer.rb

Instance Method Summary collapse

Instance Method Details

#render_partial_with_jubako(context, options, &block) ⇒ Object



16
17
18
19
20
# File 'lib/jubako/renderer.rb', line 16

def render_partial_with_jubako(context, options, &block)
  jubako_scoped(context, options) do
    render_partial_without_jubako(context, options, &block)
  end
end

#render_template_with_jubako(context, options) ⇒ Object



10
11
12
13
14
# File 'lib/jubako/renderer.rb', line 10

def render_template_with_jubako(context, options)
  jubako_scoped(context, options) do
    render_template_without_jubako(context, options)
  end
end