aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-02-08 16:31:12 +0100
committerRobin Dupret <robin.dupret@gmail.com>2014-02-08 16:31:12 +0100
commit50d828c0afe9c0fb94d4c1e86fb6c71916a32ab6 (patch)
treeaaa4e40d6d58bf1dee298998ccbc8ae7e807838c /actionpack/lib/action_dispatch/middleware
parent519deb6f509e804ad2c937df4f583785f2168c9c (diff)
downloadrails-50d828c0afe9c0fb94d4c1e86fb6c71916a32ab6.tar.gz
rails-50d828c0afe9c0fb94d4c1e86fb6c71916a32ab6.tar.bz2
rails-50d828c0afe9c0fb94d4c1e86fb6c71916a32ab6.zip
Rely on backticks instead of tt tags [ci skip]
Since the language in code blocks is inferred, if the code contains tt tags, the block will be parsed as XML for instance while it is Ruby.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r--actionpack/lib/action_dispatch/middleware/cookies.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb
index b3c3ab6bb9..3d1614142d 100644
--- a/actionpack/lib/action_dispatch/middleware/cookies.rb
+++ b/actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -30,8 +30,8 @@ module ActionDispatch
# cookies[:login] = { value: "XJ-122", expires: 1.hour.from_now }
#
# # Sets a signed cookie, which prevents users from tampering with its value.
- # # The cookie is signed by your app's <tt>secrets.secret_key_base</tt> value.
- # # It can be read using the signed method <tt>cookies.signed[:name]</tt>
+ # # The cookie is signed by your app's `secrets.secret_key_base` value.
+ # # It can be read using the signed method `cookies.signed[:name]`
# cookies.signed[:user_id] = current_user.id
#
# # Sets a "permanent" cookie (which expires in 20 years from now).