diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-11-23 05:45:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-23 05:45:20 +0900 |
commit | d7b17dfa0258dfbe387a1dfffa590c8d343db6e9 (patch) | |
tree | 78de68460cf362e874bf3c87ccd116b8091b0a51 /actionpack | |
parent | 4b8953cc43d04998ca5f4601583220e695cacec0 (diff) | |
parent | f7f7a08fa8593a014a6b91027eee28548a3d2102 (diff) | |
download | rails-d7b17dfa0258dfbe387a1dfffa590c8d343db6e9.tar.gz rails-d7b17dfa0258dfbe387a1dfffa590c8d343db6e9.tar.bz2 rails-d7b17dfa0258dfbe387a1dfffa590c8d343db6e9.zip |
Merge pull request #31205 from tjschuck/doc_indentation_fix
Fix CustomUrls#direct doc formatting
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index ded42adee9..d87a23a58c 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -2046,7 +2046,7 @@ module ActionDispatch end module CustomUrls - # Define custom url helpers that will be added to the application's + # Define custom URL helpers that will be added to the application's # routes. This allows you to override and/or replace the default behavior # of routing helpers, e.g: # @@ -2066,11 +2066,11 @@ module ActionDispatch # arguments for +url_for+ which will actually build the URL string. This can # be one of the following: # - # * A string, which is treated as a generated URL - # * A hash, e.g. { controller: "pages", action: "index" } - # * An array, which is passed to `polymorphic_url` - # * An Active Model instance - # * An Active Model class + # * A string, which is treated as a generated URL + # * A hash, e.g. <tt>{ controller: "pages", action: "index" }</tt> + # * An array, which is passed to +polymorphic_url+ + # * An Active Model instance + # * An Active Model class # # NOTE: Other URL helpers can be called in the block but be careful not to invoke # your custom URL helper again otherwise it will result in a stack overflow error. |