mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix AbstractController::Layouts to work when included directly on a controller
This commit is contained in:
parent
28508d444e
commit
1273ffa186
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ module AbstractController
|
|||
|
||||
included do
|
||||
extlib_inheritable_accessor(:_layout_conditions) { Hash.new }
|
||||
_write_layout_method
|
||||
end
|
||||
|
||||
module ClassMethods
|
||||
|
|
Loading…
Reference in a new issue