mirror of
https://github.com/github/rails.git
synced 2026-02-13 07:35:16 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user