Skip to content

Commit b14c8df

Browse files
Update method documentation
1 parent cffd9ae commit b14c8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/search_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def handle_primo_errors(error)
391391

392392
# authorized_request? handles the verification that a request is valid. This validity is enforced in different ways
393393
# based on the requested format. Requests for results in JSON format need to be accompanied with a valid token.
394-
# Requests for results in HTML format are subject to review by BotDetector and Turnstile.
394+
# Requests for results in other formats (HTML, primarily) are subject to review by BotDetector and Turnstile.
395395
#
396396
# If the request if authorized, it returns true (allowing the application to generate a response)
397397
# If the request is not authorized, it either renders an unauthorized error, or redirects the user to Turnstile

0 commit comments

Comments
 (0)