method

_layout_for

rails latest stable - Class: ActionView::Context
_layout_for(name = nil)
public

Encapsulates the interaction with the view flow so it returns the correct buffer on yield. This is usually overwritten by helpers to add more behavior.