Flowdock
method

_write_layout_method

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: 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.