diff options
author | Alex Kitchens <alexcameron98@gmail.com> | 2016-06-29 09:25:16 -0500 |
---|---|---|
committer | Alex Kitchens <alexcameron98@gmail.com> | 2016-06-29 10:31:17 -0500 |
commit | c893a6995a98c9cf8da42b07efcd7277be0a08e2 (patch) | |
tree | dbfe289f63262705797064af33d1bf5dc91ffe87 /actionpack/lib/action_dispatch | |
parent | 10539ad7a998d305dd94d0ff3b39991ad3918c18 (diff) | |
download | rails-c893a6995a98c9cf8da42b07efcd7277be0a08e2.tar.gz rails-c893a6995a98c9cf8da42b07efcd7277be0a08e2.tar.bz2 rails-c893a6995a98c9cf8da42b07efcd7277be0a08e2.zip |
[ci skip] Fix typo & add link in PolymorphicRoutes
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/polymorphic_routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb index 9934f5547a..3156acf615 100644 --- a/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb +++ b/actionpack/lib/action_dispatch/routing/polymorphic_routes.rb @@ -4,7 +4,7 @@ module ActionDispatch # given an Active Record model instance. They are to be used in combination with # ActionController::Resources. # - # These methods are useful when you want to generate correct URL or path to a RESTful + # These methods are useful when you want to generate the correct URL or path to a RESTful # resource without having to know the exact type of the record in question. # # Nested resources and/or namespaces are also supported, as illustrated in the example: @@ -79,7 +79,7 @@ module ActionDispatch # polymorphic_url([blog, post], anchor: 'my_anchor', script_name: "/my_app") # # => "http://example.com/my_app/blogs/1/posts/1#my_anchor" # - # For all of these options, see the documentation for <tt>url_for</tt>. + # For all of these options, see the documentation for {url_for}[rdoc-ref:ActionDispatch::Routing::UrlFor]. # # ==== Functionality # |