diff options
author | Abhay Nikam <nikam.abhay1@gmail.com> | 2019-04-03 11:40:01 +0530 |
---|---|---|
committer | Abhay Nikam <nikam.abhay1@gmail.com> | 2019-04-03 11:40:01 +0530 |
commit | e0c697e46c7d25cbe65e0d79f41435772fe342df (patch) | |
tree | 15201dd892af6c83c44d51762a7b06f6d6eb95cc /actionpack/lib/action_dispatch | |
parent | 96f0114e082b116856e945b075abd747eff0e63e (diff) | |
download | rails-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/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
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. |