aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/mapper.rb
diff options
context:
space:
mode:
authorclaudiob <claudiob@gmail.com>2014-11-20 14:44:56 -0800
committerclaudiob <claudiob@gmail.com>2014-11-20 14:46:27 -0800
commit02e821f329bec116ca367886233d16feae6723ef (patch)
tree136f8725128d7a1e6d74f91a90bded9c6250d83b /actionpack/lib/action_dispatch/routing/mapper.rb
parent030c0532b9eaeabffc17bda116125987c6df32f6 (diff)
downloadrails-02e821f329bec116ca367886233d16feae6723ef.tar.gz
rails-02e821f329bec116ca367886233d16feae6723ef.tar.bz2
rails-02e821f329bec116ca367886233d16feae6723ef.zip
Wrap code snippets in +, not backticks, in sdoc
[ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/mapper.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb6
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>.