Flowdock
method

action_has_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.1.0) is shown here.

These similar methods exist in v5.2.3:

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.

Show source
Register or log in to add new notes.