Fixed routing bug

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-06-27 10:38:51 +00:00
parent d8472f0b6e
commit ef8bd07f5e

View File

@@ -565,7 +565,7 @@ module ActionController
define_method(hash_access_name(name)) { hash }
module_eval(%{def #{url_helper_name name}(options = {})
url_for(#{hash_access_name(name)}.merge(options))
end}, nil, "generated/routing/named_routes/#{name}.rb")
end}, "generated/routing/named_routes/#{name}.rb")
protected url_helper_name(name), hash_access_name(name)