Skip to content

Commit

Permalink
Corrected the name of the module that should be included to get the u…
Browse files Browse the repository at this point in the history
…rl helpers.
  • Loading branch information
andhapp committed May 3, 2012
1 parent 31500f7 commit ce9e253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/routing/url_for.rb
Expand Up @@ -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
Expand Down

0 comments on commit ce9e253

Please sign in to comment.