diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-07-15 14:16:12 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-15 14:16:12 -0700 |
commit | 1273ffa1861d15eb7518b7bfab6003bb3d9ca347 (patch) | |
tree | 4c0c6d17a8eaea1253c68bddc536c481b2f2080d /actionpack/lib/action_controller | |
parent | 28508d444e36dc8b5819f011f0a2398f44d8d3e3 (diff) | |
download | rails-1273ffa1861d15eb7518b7bfab6003bb3d9ca347.tar.gz rails-1273ffa1861d15eb7518b7bfab6003bb3d9ca347.tar.bz2 rails-1273ffa1861d15eb7518b7bfab6003bb3d9ca347.zip |
Fix AbstractController::Layouts to work when included directly on a controller
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/abstract/layouts.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/abstract/layouts.rb b/actionpack/lib/action_controller/abstract/layouts.rb index d8276cfa83..f021dd8b62 100644 --- a/actionpack/lib/action_controller/abstract/layouts.rb +++ b/actionpack/lib/action_controller/abstract/layouts.rb @@ -6,6 +6,7 @@ module AbstractController included do extlib_inheritable_accessor(:_layout_conditions) { Hash.new } + _write_layout_method end module ClassMethods |