aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-04-03 15:34:07 +0900
committerGitHub <noreply@github.com>2019-04-03 15:34:07 +0900
commit7020c6f9721c36616e58cba344549183aa091233 (patch)
treeec177e5be78613aa0b3017a5db2434d94431fcdb /actionpack
parent834716b2ee107ed95c21a308be6b1983411ccd66 (diff)
parente0c697e46c7d25cbe65e0d79f41435772fe342df (diff)
downloadrails-7020c6f9721c36616e58cba344549183aa091233.tar.gz
rails-7020c6f9721c36616e58cba344549183aa091233.tar.bz2
rails-7020c6f9721c36616e58cba344549183aa091233.zip
Merge pull request #35840 from abhaynikam/24405-update-honor-shallow-false-option-doc
[ci skip] Doc for shallow: false options should use <tt> for better readability.
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.