method

_normalize_options

rails latest stable - Class: AbstractController::Layouts

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

_normalize_options(options)
public

No documentation available.

# File actionpack/lib/abstract_controller/layouts.rb, line 339
    def _normalize_options(options) # :nodoc:
      super

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