Browse files

Corrected the name of the module that should be included to get the u…

…rl helpers.
  • Loading branch information...
1 parent 31500f7 commit ce9e2534bfe68a1e14b686632cf848909558c098 @andhapp andhapp committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/url_for.rb
@@ -68,7 +68,7 @@ module Routing
# 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

0 comments on commit ce9e253

Please sign in to comment.