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