diff options
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index 3dd038b048..f20620d4f0 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -204,7 +204,7 @@ module ActionView #:nodoc: elsif options[:partial] render_partial(options[:partial], options[:object], options[:locals]) elsif options[:inline] - render_template(options[:type] || :rhtml, options[:inline], options[:locals] || {}) + render_template(options[:type] || :rhtml, options[:inline], nil, options[:locals] || {}) end end end |