aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionview/lib/action_view/rendering.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionview/lib/action_view/rendering.rb b/actionview/lib/action_view/rendering.rb
index 9d8f316a11..ce43d1a180 100644
--- a/actionview/lib/action_view/rendering.rb
+++ b/actionview/lib/action_view/rendering.rb
@@ -79,7 +79,8 @@ module ActionView
# Render template to response_body
# :api: public
def render(*args, &block)
- super
+ super(*args, &block)
+
options = _normalize_render(*args, &block)
self.response_body = render_to_body(options)
end