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

Takes the specified layout and creates a _layout method to be called by _default_layout

If there is no explicit layout specified: If a layout is found in the view paths with the controller’s name, return that string. Otherwise, use the superclass’ layout (which might also be implied)

Show source
Register or log in to add new notes.