aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-22 20:46:36 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-22 20:46:36 +0000
commit98fb9e5093decbaff5aea5fd25de53f2624ecff3 (patch)
treef288954c6f3681b0371b6932893006b95a9258d5
parentd41ee82ebcb7ce53b6b78fec61deb632c8506e6e (diff)
downloadrails-98fb9e5093decbaff5aea5fd25de53f2624ecff3.tar.gz
rails-98fb9e5093decbaff5aea5fd25de53f2624ecff3.tar.bz2
rails-98fb9e5093decbaff5aea5fd25de53f2624ecff3.zip
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
-rw-r--r--actionpack/lib/action_view/base.rb2
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