method
action_has_layout?
v3.0.0 -
Show latest stable
- Class:
AbstractController::Layouts::ClassMethods::LayoutConditions
action_has_layout?()public
Determines whether the current action has a layout by checking the action name against the :only and :except conditions set on the layout.
Returns
- Boolean - True if the action has a layout, false otherwise.