aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-11-22 14:53:01 -0500
committerGitHub <noreply@github.com>2017-11-22 14:53:01 -0500
commit4b8953cc43d04998ca5f4601583220e695cacec0 (patch)
treecf353b1a1275c8d3001f066700caea568b00ec64 /actionpack/lib/action_dispatch/routing
parent078421bacba178eac6a8e607b16f3f4511c5d72f (diff)
parent3063ace1070e4ddb8d0cc09fbd23049e7b21617a (diff)
downloadrails-4b8953cc43d04998ca5f4601583220e695cacec0.tar.gz
rails-4b8953cc43d04998ca5f4601583220e695cacec0.tar.bz2
rails-4b8953cc43d04998ca5f4601583220e695cacec0.zip
Merge pull request #31204 from tjschuck/doc_fix_some_backticks_to_tt
Update incorrect backtick usage in RDoc to teletype
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r--actionpack/lib/action_dispatch/routing/url_for.rb2
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 3ae533dd37..fa345dccdf 100644
--- a/actionpack/lib/action_dispatch/routing/url_for.rb
+++ b/actionpack/lib/action_dispatch/routing/url_for.rb
@@ -155,7 +155,7 @@ module ActionDispatch
# Missing routes keys may be filled in from the current request's parameters
# (e.g. +:controller+, +:action+, +:id+ and any other parameters that are
# placed in the path). Given that the current action has been reached
- # through `GET /users/1`:
+ # through <tt>GET /users/1</tt>:
#
# url_for(only_path: true) # => '/users/1'
# url_for(only_path: true, action: 'edit') # => '/users/1/edit'