diff options
author | Xavier Noria <fxn@hashref.com> | 2014-11-20 23:52:56 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2014-11-20 23:52:56 +0100 |
commit | ee80e22f03b36f5e2c35288226c66a44e2e722e2 (patch) | |
tree | 136f8725128d7a1e6d74f91a90bded9c6250d83b | |
parent | 030c0532b9eaeabffc17bda116125987c6df32f6 (diff) | |
parent | 02e821f329bec116ca367886233d16feae6723ef (diff) | |
download | rails-ee80e22f03b36f5e2c35288226c66a44e2e722e2.tar.gz rails-ee80e22f03b36f5e2c35288226c66a44e2e722e2.tar.bz2 rails-ee80e22f03b36f5e2c35288226c66a44e2e722e2.zip |
Merge pull request #17694 from claudiob/remove-backticks-from-sdoc
Wrap code snippets in +, not backticks, in sdoc [ci skip]
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index ac03ecb2c8..be54d43172 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -391,7 +391,7 @@ module ActionDispatch # Matches a url pattern to one or more routes. # - # You should not use the `match` method in your router + # You should not use the +match+ method in your router # without specifying an HTTP method. # # If you want to expose your action to both GET and POST, use: @@ -402,7 +402,7 @@ module ActionDispatch # Note that +:controller+, +:action+ and +:id+ are interpreted as url # query parameters and thus available through +params+ in an action. # - # If you want to expose your action to GET, use `get` in the router: + # If you want to expose your action to GET, use +get+ in the router: # # Instead of: # @@ -457,7 +457,7 @@ module ActionDispatch # The route's action. # # [:param] - # Overrides the default resource identifier `:id` (name of the + # Overrides the default resource identifier +:id+ (name of the # dynamic segment used to generate the routes). # You can access that segment from your controller using # <tt>params[<:param>]</tt>. |