Flowdock
method

_normalize_options

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: AbstractController::Layouts
_normalize_options(options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/abstract_controller/layouts.rb, line 287
    def _normalize_options(options)
      super

      if _include_layout?(options)
        layout = options.key?(:layout) ? options.delete(:layout) : :default
        value = _layout_for_option(layout)
        options[:layout] = (value =~ /\blayouts/ ? value : "layouts/#{value}") if value
      end
    end
Register or log in to add new notes.