aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAbhay Nikam <nikam.abhay1@gmail.com>2019-04-03 11:40:01 +0530
committerAbhay Nikam <nikam.abhay1@gmail.com>2019-04-03 11:40:01 +0530
commite0c697e46c7d25cbe65e0d79f41435772fe342df (patch)
tree15201dd892af6c83c44d51762a7b06f6d6eb95cc /actionpack
parent96f0114e082b116856e945b075abd747eff0e63e (diff)
downloadrails-e0c697e46c7d25cbe65e0d79f41435772fe342df.tar.gz
rails-e0c697e46c7d25cbe65e0d79f41435772fe342df.tar.bz2
rails-e0c697e46c7d25cbe65e0d79f41435772fe342df.zip
[ci skip] Doc for shallow: false options should use <tt> for better readability. PR after #24405
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 08560ccf7d..74596fa1f0 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -1402,7 +1402,7 @@ module ActionDispatch
# as a comment on a blog post like <tt>/posts/a-long-permalink/comments/1234</tt>
# to be shortened to just <tt>/comments/1234</tt>.
#
- # Set shallow: false on a child resource to ignore a parent's shallow parameter.
+ # Set <tt>shallow: false</tt> on a child resource to ignore a parent's shallow parameter.
#
# [:shallow_path]
# Prefixes nested shallow routes with the specified path.