diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-07-19 12:03:20 +0200 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-08-25 11:39:11 +0200 |
commit | 98ec4ebfe730438024b95bca904fe324740396ad (patch) | |
tree | e4fbfcfbe284c3318537234203c60c3315b40bfd | |
parent | 1656f58f073582e56184d40584f2ce893ab57497 (diff) | |
download | rails-98ec4ebfe730438024b95bca904fe324740396ad.tar.gz rails-98ec4ebfe730438024b95bca904fe324740396ad.tar.bz2 rails-98ec4ebfe730438024b95bca904fe324740396ad.zip |
Pass args to render's super method
-rw-r--r-- | actionview/lib/action_view/rendering.rb | 3 |
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 |