Quantcast
Viewing latest article 16
Browse Latest Browse All 57

Feature #12556 (New): Method for conditional layouts

Would be nice if we be able to override base layout using patches. It can helps selecting dynamic layouts in plugins

classApplicationController<ActionController::Baselayout:get_layout...privatedefget_layout"base"endend

Viewing latest article 16
Browse Latest Browse All 57

Trending Articles