Permalink
Browse files

Fix AbstractController::Layouts to work when included directly on a c…

…ontroller
  • Loading branch information...
1 parent 28508d4 commit 1273ffa1861d15eb7518b7bfab6003bb3d9ca347 @wycats wycats committed Jul 15, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_controller/abstract/layouts.rb
@@ -6,6 +6,7 @@ module Layouts
included do
extlib_inheritable_accessor(:_layout_conditions) { Hash.new }
+ _write_layout_method
end
module ClassMethods

0 comments on commit 1273ffa

Please sign in to comment.