aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-06-29 11:48:32 -0400
committerGitHub <noreply@github.com>2016-06-29 11:48:32 -0400
commit54f717d3bf818b1f5794457cf9972e5f86a34d5d (patch)
tree52cb7b96e3619b1c7171412ecb242da81f94ecc3 /actionpack/lib
parent3055f59e0ad7d5f0eee24c22a45fbae4a40b056e (diff)
parentc893a6995a98c9cf8da42b07efcd7277be0a08e2 (diff)
downloadrails-54f717d3bf818b1f5794457cf9972e5f86a34d5d.tar.gz
rails-54f717d3bf818b1f5794457cf9972e5f86a34d5d.tar.bz2
rails-54f717d3bf818b1f5794457cf9972e5f86a34d5d.zip
Merge pull request #25572 from alexcameron89/polymorphic_routes
[ci skip] Fix grammar & add link in PolymorphicRoutes
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_dispatch/routing/polymorphic_routes.rb4
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
#