method

_layout_for_option

rails latest stable - Class: AbstractController::Layouts

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.

_layout_for_option(name)
private

Determine the layout for a given name, taking into account the name type.

Parameters

  • name - The name of the template