Module: Jubako::Renderer
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/jubako/renderer.rb
Instance Method Summary collapse
- #render_partial_with_jubako(context, options, &block) ⇒ Object
- #render_template_with_jubako(context, options) ⇒ Object
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, , &block) jubako_scoped(context, ) do render_partial_without_jubako(context, , &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, ) jubako_scoped(context, ) do render_template_without_jubako(context, ) end end |