mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix AbstractController::Layouts to work when included directly on a controller
This commit is contained in:
@@ -6,6 +6,7 @@ module AbstractController
|
||||
|
||||
included do
|
||||
extlib_inheritable_accessor(:_layout_conditions) { Hash.new }
|
||||
_write_layout_method
|
||||
end
|
||||
|
||||
module ClassMethods
|
||||
|
||||
Reference in New Issue
Block a user