Flowdock
method

active_layout

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionController::Layout

Method deprecated or moved

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

active_layout(passed_layout = nil, options = {}) public

Returns the name of the active layout. If the layout was specified as a method reference (through a symbol), this method is called and the return value is used. Likewise if the layout was specified as an inline method (through a proc or method object). If the layout was defined without a directory, layouts is assumed. So layout "weblog/standard" will return weblog/standard, but layout "standard" will return layouts/standard.

Show source
Register or log in to add new notes.