method
_conditional_layout?
v7.1.3.4 -
Show latest stable
- Class:
ActionView::Layouts::ClassMethods::LayoutConditions
_conditional_layout?()private
Determines whether the current action has a layout definition by checking the action name against the :only and :except conditions set by the layout method.
Returns
-
Boolean - True if the action has a layout definition, false otherwise.