diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-05-12 21:12:31 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-05-12 21:12:31 +0000 |
commit | c769ad85336713b7e5bdadd57d92a007783f8208 (patch) | |
tree | ecd60b6abc044f8eb80558a631edcf7f8662c406 /actionpack/test/template/asset_tag_helper_test.rb | |
parent | 2ca6f57f85fe06932f64685bea2687fec7d6c3d3 (diff) | |
download | rails-c769ad85336713b7e5bdadd57d92a007783f8208.tar.gz rails-c769ad85336713b7e5bdadd57d92a007783f8208.tar.bz2 rails-c769ad85336713b7e5bdadd57d92a007783f8208.zip |
Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [DHH] Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template/asset_tag_helper_test.rb')
-rw-r--r-- | actionpack/test/template/asset_tag_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index 71378584fa..cd4b56a2a0 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -303,7 +303,7 @@ class AssetTagHelperNonVhostTest < Test::Unit::TestCase @controller = Class.new do attr_accessor :request - def url_for(options, *parameters_for_method_reference) + def url_for(options) "http://www.example.com/collaboration/hieraki" end end.new |