Skip to content

Commit

Permalink
Fixed call on inline with new render_template #1808 [Michael Shuerig]
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Jul 22, 2005
1 parent d41ee82 commit 98fb9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def render(options = {}, old_local_assigns = {})
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
Expand Down

0 comments on commit 98fb9e5

Please sign in to comment.