1
0
Fork 0
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:
Yehuda Katz 2009-07-15 14:16:12 -07:00
parent 28508d444e
commit 1273ffa186

View file

@ -6,6 +6,7 @@ module AbstractController
included do
extlib_inheritable_accessor(:_layout_conditions) { Hash.new }
_write_layout_method
end
module ClassMethods