Class: Esse::Jbuilder::JbuilderTemplate

Inherits:
JbuilderTemplate
  • Object
show all
Defined in:
lib/esse/jbuilder/view_template.rb

Instance Method Summary collapse

Instance Method Details

#_render_template!(path, options = {}) ⇒ Object



10
11
12
13
14
15
# File 'lib/esse/jbuilder/view_template.rb', line 10

def _render_template!(path, options = {})
  options[:template] = path
  options[:locals] ||= {}
  options.delete(:partial)
  _render_partial(options)
end