v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Layout

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

active_layout(passed_layout = nil) 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.