method
layout
v3.1.0 -
Show latest stable
- Class:
AbstractController::Layouts::ClassMethods
layout(layout, conditions = {})public
Specify the layout to use for this class.
If the specified layout is a:
|
the String is the template name | |
|
call the method specified by the symbol, which will return |
the template name
false |
There is no layout |
true |
raise an ArgumentError |