aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/conditional_get.rb
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2016-05-30 15:58:53 +0200
committerRobin Dupret <robin.dupret@gmail.com>2016-05-30 15:58:53 +0200
commit1afdbbeb27e3bda6b7db02ea4b71ad1b170d6ecc (patch)
tree4cf79eabe6f3d2a9bf5f7b11b39819f3a3d2fd4d /actionpack/lib/action_controller/metal/conditional_get.rb
parent3f2e83d964fcb4cd7f7f2ed8fb2b2592ffc57647 (diff)
downloadrails-1afdbbeb27e3bda6b7db02ea4b71ad1b170d6ecc.tar.gz
rails-1afdbbeb27e3bda6b7db02ea4b71ad1b170d6ecc.tar.bz2
rails-1afdbbeb27e3bda6b7db02ea4b71ad1b170d6ecc.zip
Tiny document fixes [ci skip]
Add a missing capital letter and avoid using absolute links to the API because they may refer to out-dated documentation on the Edge site.
Diffstat (limited to 'actionpack/lib/action_controller/metal/conditional_get.rb')
-rw-r--r--actionpack/lib/action_controller/metal/conditional_get.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/conditional_get.rb b/actionpack/lib/action_controller/metal/conditional_get.rb
index 480e265e44..e21449f376 100644
--- a/actionpack/lib/action_controller/metal/conditional_get.rb
+++ b/actionpack/lib/action_controller/metal/conditional_get.rb
@@ -129,7 +129,7 @@ module ActionController
# * <tt>:etag</tt> Sets a "weak" ETag validator on the response. See the
# +:weak_etag+ option.
# * <tt>:weak_etag</tt> Sets a "weak" ETag validator on the response.
- # requests that set If-None-Match header may return a 304 Not Modified
+ # Requests that set If-None-Match header may return a 304 Not Modified
# response if it matches the ETag exactly. A weak ETag indicates semantic
# equivalence, not byte-for-byte equality, so they're good for caching
# HTML pages in browser caches. They can't be used for responses that