diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-09 16:46:42 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-09 16:47:40 -0700 |
commit | f35f47b8c0bbb181352e9c957f02693cb1801b76 (patch) | |
tree | 4396cf259a6c1ad735ce4c87322e33437eecd384 /actionpack/test/abstract_controller/abstract_controller_test.rb | |
parent | acb244778587ff400f5b1d54e27028a2dae91101 (diff) | |
download | rails-f35f47b8c0bbb181352e9c957f02693cb1801b76.tar.gz rails-f35f47b8c0bbb181352e9c957f02693cb1801b76.tar.bz2 rails-f35f47b8c0bbb181352e9c957f02693cb1801b76.zip |
Cleaning up and documenting AbstractController::Layouts
Diffstat (limited to 'actionpack/test/abstract_controller/abstract_controller_test.rb')
-rw-r--r-- | actionpack/test/abstract_controller/abstract_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_controller/abstract_controller_test.rb b/actionpack/test/abstract_controller/abstract_controller_test.rb index c7eaaeb4ba..05b55216c8 100644 --- a/actionpack/test/abstract_controller/abstract_controller_test.rb +++ b/actionpack/test/abstract_controller/abstract_controller_test.rb @@ -154,7 +154,7 @@ module AbstractController end def render_to_body(options = {}) - options[:_layout] = options[:layout] || _default_layout + options[:_layout] = options[:layout] || _default_layout({}) super end end |