diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-07 03:18:45 -0300 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-07 03:18:45 -0300 |
commit | 0612fd0f09977dece11a0325a0d7ee07c5cab35c (patch) | |
tree | d225dd3b608eca95a388f61bda4225de75654a79 /actionpack/lib/action_view/render/partials.rb | |
parent | b3e199f6981b2fbf062fe668ff93b7dc56e98a38 (diff) | |
download | rails-0612fd0f09977dece11a0325a0d7ee07c5cab35c.tar.gz rails-0612fd0f09977dece11a0325a0d7ee07c5cab35c.tar.bz2 rails-0612fd0f09977dece11a0325a0d7ee07c5cab35c.zip |
Replace _render_template_with_layout with _render_template since the layout is optional
Diffstat (limited to 'actionpack/lib/action_view/render/partials.rb')
-rw-r--r-- | actionpack/lib/action_view/render/partials.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/render/partials.rb b/actionpack/lib/action_view/render/partials.rb index 7a791d03ce..98694788f8 100644 --- a/actionpack/lib/action_view/render/partials.rb +++ b/actionpack/lib/action_view/render/partials.rb @@ -248,7 +248,7 @@ module ActionView options[:_template] = template - _render_template(template, locals) + _render_single_template(template, locals) end end @@ -275,7 +275,7 @@ module ActionView index += 1 - _render_template(template, locals) + _render_single_template(template, locals) end.join(spacer) end |