Flowdock
method

_default_layout

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: AbstractController::Layouts
_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.