method
layout
v3.2.8 -
Show latest stable
-
0 notes -
Class: AbstractController::Layouts::ClassMethods
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0 (0)
- 3.0.5 (0)
- 3.0.7 (0)
- 3.0.9 (-26)
- 3.1.0 (0)
- 3.2.1 (38)
- 3.2.3 (-2)
- 3.2.8 (0)
- 3.2.13 (0)
- What's this?
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 |
nil |
Force default layout behavior with inheritance |


