diff options
author | José Valim <jose.valim@gmail.com> | 2011-09-22 15:37:38 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-09-22 15:37:38 +0200 |
commit | 43d27e9105b385f64ec195f60d10ab3d64281bd4 (patch) | |
tree | 755829e527a141ba5aa7db852ec16b3cd9cd073a /actionpack/test/fixtures | |
parent | c3fa2e9bf89039e90c45336979d17cb0c02a6cd2 (diff) | |
download | rails-43d27e9105b385f64ec195f60d10ab3d64281bd4.tar.gz rails-43d27e9105b385f64ec195f60d10ab3d64281bd4.tar.bz2 rails-43d27e9105b385f64ec195f60d10ab3d64281bd4.zip |
Deprecate passing the template handler in the template name.
For example, calling hello.erb is now deprecated. Since Rails 3.0
passing the handler had no effect whatsover. This commit simply
deprecates such cases so we can clean up the code in later releases.
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb b/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb index 5db0822f07..820e7db789 100644 --- a/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb +++ b/actionpack/test/fixtures/test/_layout_with_partial_and_yield.html.erb @@ -1,4 +1,4 @@ Before -<%= render :partial => "test/partial.html.erb" %> +<%= render :partial => "test/partial" %> <%= yield %> After |