Fixed call on inline with new render_template #1808 [Michael Shuerig]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-07-22 20:46:36 +00:00
parent d41ee82ebc
commit 98fb9e5093

View File

@@ -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