Flowdock
method

conditional_layout?

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: AbstractController::Layouts::ClassMethods::LayoutConditions

Method deprecated or moved

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

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

Show source
Register or log in to add new notes.