Flowdock
method

_default_layout

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - 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.

These similar methods exist in v4.1.8:

_default_layout(require_layout = false) private

Returns the default layout for this controller. Optionally raises an exception if the layout could not be found.

Parameters

  • require_layout - If set to true and layout is not found, an ArgumentError exception is raised (defaults to false)

Returns

  • template - The template object for the default layout (or nil)

Show source
Register or log in to add new notes.