aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/url_for.rb
diff options
context:
space:
mode:
authorMartin Schürrer <martin@schuerrer.org>2010-02-21 17:21:25 +0100
committerYehuda Katz <yehudakatz@YK.local>2010-02-21 13:43:51 -0800
commit6bc24d40d56332593bc22612d4618a2f80b1d91b (patch)
treee49938db28fe51f5c45efde3dec5793e65694da0 /actionpack/lib/action_controller/metal/url_for.rb
parent4cdfe98d925397a613c9220bca65be5081c92f56 (diff)
downloadrails-6bc24d40d56332593bc22612d4618a2f80b1d91b.tar.gz
rails-6bc24d40d56332593bc22612d4618a2f80b1d91b.tar.bz2
rails-6bc24d40d56332593bc22612d4618a2f80b1d91b.zip
Use ActionDispatch::Routing everywhere
Diffstat (limited to 'actionpack/lib/action_controller/metal/url_for.rb')
-rw-r--r--actionpack/lib/action_controller/metal/url_for.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/url_for.rb b/actionpack/lib/action_controller/metal/url_for.rb
index 4f3ad07be5..0a9ea7fe1a 100644
--- a/actionpack/lib/action_controller/metal/url_for.rb
+++ b/actionpack/lib/action_controller/metal/url_for.rb
@@ -6,7 +6,7 @@ module ActionController
# is also possible: an URL can be generated from one of your routing definitions.
# URL generation functionality is centralized in this module.
#
- # See ActionController::Routing and ActionController::Resources for general
+ # See ActionDispatch::Routing and ActionController::Resources for general
# information about routing and routes.rb.
#
# <b>Tip:</b> If you need to generate URLs from your models or some other place,
@@ -87,7 +87,7 @@ module ActionController
extend ActiveSupport::Concern
included do
- ActionController::Routing::Routes.install_helpers(self)
+ ActionDispatch::Routing::Routes.install_helpers(self)
# Including in a class uses an inheritable hash. Modules get a plain hash.
if respond_to?(:class_attribute)