Flowdock
method

_write_layout_method

Importance_1
v3.2.1 - Show latest stable - 0 notes - Class: AbstractController::Layouts::ClassMethods
_write_layout_method() public

Creates a _layout method to be called by _default_layout .

If a layout is not explicitly mentioned then look for a layout with the controller’s name. if nothing is found then try same procedure to find super class’s layout.

Show source
Register or log in to add new notes.