method

_normalize_layout

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.

_normalize_layout(value)
private

No documentation available.

# File actionpack/lib/abstract_controller/layouts.rb, line 391
    def _normalize_layout(value)
      value.is_a?(String) && value !~ /\blayouts/ ? "layouts/#{value}" : value
    end