Skip to content

Commit 4464825

Browse files
authored
Merge pull request rails#49493 from skipkayhil/hm-no-backticks
Fix login_procedure doc using backticks [ci skip]
2 parents b71c75e + 11a4f98 commit 4464825

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

actionpack/lib/action_controller/metal/http_authentication.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ module Token
425425
module ControllerMethods
426426
# Authenticate using an HTTP Bearer token, or otherwise render an HTTP
427427
# header requesting the client to send a Bearer token. For the authentication
428-
# to be considered successful, `login_procedure` should return a non-nil
428+
# to be considered successful, +login_procedure+ should return a non-nil
429429
# value. Typically, the authenticated user is returned.
430430
#
431431
# See ActionController::HttpAuthentication::Token for example usage.
@@ -434,8 +434,8 @@ def authenticate_or_request_with_http_token(realm = "Application", message = nil
434434
end
435435

436436
# Authenticate using an HTTP Bearer token.
437-
# Returns the return value of <tt>login_procedure</tt> if a
438-
# token is found. Returns <tt>nil</tt> if no token is found.
437+
# Returns the return value of +login_procedure+ if a
438+
# token is found. Returns +nil+ if no token is found.
439439
#
440440
# See ActionController::HttpAuthentication::Token for example usage.
441441
def authenticate_with_http_token(&login_procedure)
@@ -452,8 +452,8 @@ def request_http_token_authentication(realm = "Application", message = nil)
452452
# If token Authorization header is present, call the login
453453
# procedure with the present token and options.
454454
#
455-
# Returns the return value of <tt>login_procedure</tt> if a
456-
# token is found. Returns <tt>nil</tt> if no token is found.
455+
# Returns the return value of +login_procedure+ if a
456+
# token is found. Returns +nil+ if no token is found.
457457
#
458458
# ==== Parameters
459459
#

0 commit comments

Comments
 (0)