aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAnuj Dutta <anuj@andhapp.com>2012-05-03 00:56:28 +0000
committerAnuj Dutta <anuj@andhapp.com>2012-05-03 00:56:28 +0000
commitce9e2534bfe68a1e14b686632cf848909558c098 (patch)
treeecc4f12fa6738f512996832b44ae6301fa018b34 /actionpack
parent31500f7284515604891a74d9853f691e67c76261 (diff)
downloadrails-ce9e2534bfe68a1e14b686632cf848909558c098.tar.gz
rails-ce9e2534bfe68a1e14b686632cf848909558c098.tar.bz2
rails-ce9e2534bfe68a1e14b686632cf848909558c098.zip
Corrected the name of the module that should be included to get the url helpers.
Diffstat (limited to 'actionpack')
-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 d75bb1c2de..ee02f4b531 100644
--- a/actionpack/lib/action_dispatch/routing/url_for.rb
+++ b/actionpack/lib/action_dispatch/routing/url_for.rb
@@ -68,7 +68,7 @@ module ActionDispatch
# This generates, among other things, the method <tt>users_path</tt>. By default,
# this method is accessible from your controllers, views and mailers. If you need
# to access this auto-generated method from other places (such as a model), then
- # you can do that by including ActionController::UrlFor in your class:
+ # you can do that by including Rails.application.routes.url_helpers in your class:
#
# class User < ActiveRecord::Base
# include Rails.application.routes.url_helpers