diff options
author | wycats <wycats@gmail.com> | 2010-03-27 01:00:02 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-27 01:00:02 -0700 |
commit | 02ab7890bfe87fbd5fd3b3fba04dca9bf22255c9 (patch) | |
tree | 2f796dfdb3581a3184149d37c57ced0d10a3eb3b /actionpack/lib/action_dispatch/routing | |
parent | 39c35ff04b4478968b8994bc5fad74f5840eb64c (diff) | |
download | rails-02ab7890bfe87fbd5fd3b3fba04dca9bf22255c9.tar.gz rails-02ab7890bfe87fbd5fd3b3fba04dca9bf22255c9.tar.bz2 rails-02ab7890bfe87fbd5fd3b3fba04dca9bf22255c9.zip |
Fix a mistake in the documentation (ht: Evgeniy Dolzhenko) [#4217 state:resolved]
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/url_for.rb | 2 |
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 ec78f53fa6..b8c02f402c 100644 --- a/actionpack/lib/action_dispatch/routing/url_for.rb +++ b/actionpack/lib/action_dispatch/routing/url_for.rb @@ -72,7 +72,7 @@ module ActionDispatch # you can do that by including ActionController::UrlFor in your class: # # class User < ActiveRecord::Base - # include ActionController::UrlFor + # include Rails.application.routes.url_helpers # # def base_uri # user_path(self) |