Method: ActionView::Layouts#_process_render_template_options

Defined in:
lib/action_view/layouts.rb

#_process_render_template_options(options) ⇒ Object

:nodoc:



350
351
352
353
354
355
356
357
# File 'lib/action_view/layouts.rb', line 350

def _process_render_template_options(options) # :nodoc:
  super

  if _include_layout?(options)
    layout = options.delete(:layout) { :default }
    options[:layout] = _layout_for_option(layout)
  end
end