Flowdock
method

_write_layout_method

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