aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/renderer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/abstract_controller/renderer.rb')
-rw-r--r--actionpack/lib/abstract_controller/renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/renderer.rb b/actionpack/lib/abstract_controller/renderer.rb
index 73e6b2a4dc..da57d0ff4d 100644
--- a/actionpack/lib/abstract_controller/renderer.rb
+++ b/actionpack/lib/abstract_controller/renderer.rb
@@ -54,7 +54,7 @@ module AbstractController
# :api: plugin
def render_to_body(options = {})
# TODO: Refactor so we can just use the normal template logic for this
- if options.key?(:_partial_object)
+ if options.key?(:partial)
view_context.render_partial(options)
else
_determine_template(options)