aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/url_for.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-03-09 20:50:35 -0600
committerJoshua Peek <josh@joshpeek.com>2010-03-09 20:50:35 -0600
commit7db80f87e9c194713c2016820e39af6043ddf8d0 (patch)
tree310fb27f2831a8fcf1598f4522e28e236f5d8172 /actionpack/lib/action_dispatch/routing/url_for.rb
parenta87683fb38d6cf66f39a7bd3faa6c969c63b1f46 (diff)
downloadrails-7db80f87e9c194713c2016820e39af6043ddf8d0.tar.gz
rails-7db80f87e9c194713c2016820e39af6043ddf8d0.tar.bz2
rails-7db80f87e9c194713c2016820e39af6043ddf8d0.zip
Move AC::UrlRewriter onto route set
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/url_for.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/url_for.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/url_for.rb b/actionpack/lib/action_dispatch/routing/url_for.rb
index 4629e7e002..0ba04316d7 100644
--- a/actionpack/lib/action_dispatch/routing/url_for.rb
+++ b/actionpack/lib/action_dispatch/routing/url_for.rb
@@ -131,7 +131,7 @@ module ActionDispatch
when String
options
when nil, Hash
- ActionController::UrlRewriter.rewrite(_router, url_options.merge(options || {}))
+ _router.rewrite(url_options.merge(options || {}))
else
polymorphic_url(options)
end