aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_controller/abstract_controller_test.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-09 16:46:42 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-09 16:47:40 -0700
commitf35f47b8c0bbb181352e9c957f02693cb1801b76 (patch)
tree4396cf259a6c1ad735ce4c87322e33437eecd384 /actionpack/test/abstract_controller/abstract_controller_test.rb
parentacb244778587ff400f5b1d54e27028a2dae91101 (diff)
downloadrails-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.rb2
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