Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a mistake in the documentation (ht: Evgeniy Dolzhenko) [#4217 sta…

…te:resolved]
  • Loading branch information...
commit 02ab7890bfe87fbd5fd3b3fba04dca9bf22255c9 1 parent 39c35ff
@wycats wycats authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/routing/url_for.rb
View
2  actionpack/lib/action_dispatch/routing/url_for.rb
@@ -72,7 +72,7 @@ module Routing
# you can do that by including ActionController::UrlFor in your class:
@nertzy
nertzy added a note

You should probably update this line too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
#
# class User < ActiveRecord::Base
- # include ActionController::UrlFor
+ # include Rails.application.routes.url_helpers
#
# def base_uri
# user_path(self)
Please sign in to comment.
Something went wrong with that request. Please try again.