method

_conditional_layout?

rails latest stable - Class: AbstractController::Layouts::ClassMethods::LayoutConditions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

_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.