diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-03-09 20:50:35 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-03-09 20:50:35 -0600 |
commit | 7db80f87e9c194713c2016820e39af6043ddf8d0 (patch) | |
tree | 310fb27f2831a8fcf1598f4522e28e236f5d8172 /actionpack/lib/action_dispatch/routing/url_for.rb | |
parent | a87683fb38d6cf66f39a7bd3faa6c969c63b1f46 (diff) | |
download | rails-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.rb | 2 |
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 |