aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-06-14 17:32:25 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2015-06-14 17:32:25 +0200
commit9e9cae7b37cdb489d64d58f2611cae7eb48e3a52 (patch)
treea44305eb775ebdfcc6b19e5163a3d9f8fca07c82
parent1ad2bfcbaee3d2647b9b8dfdce460b57e316a1a8 (diff)
parentfe117ce776dc7c63a46eb85a0882451e750f55ad (diff)
downloadrails-9e9cae7b37cdb489d64d58f2611cae7eb48e3a52.tar.gz
rails-9e9cae7b37cdb489d64d58f2611cae7eb48e3a52.tar.bz2
rails-9e9cae7b37cdb489d64d58f2611cae7eb48e3a52.zip
Merge pull request #20558 from prathamesh-sonpatki/missing-header-word
Add missing "header" word in documentation of Token#authentication_request [ci skip]
-rw-r--r--actionpack/lib/action_controller/metal/http_authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb
index fb0a52b076..39bed955a4 100644
--- a/actionpack/lib/action_controller/metal/http_authentication.rb
+++ b/actionpack/lib/action_controller/metal/http_authentication.rb
@@ -493,7 +493,7 @@ module ActionController
"Token #{values * ", "}"
end
- # Sets a WWW-Authenticate to let the client know a token is desired.
+ # Sets a WWW-Authenticate header to let the client know a token is desired.
#
# controller - ActionController::Base instance for the outgoing response.
# realm - String realm to use in the header.