Update example description to not suggest using a deprecated method. (#589)

This commit is contained in:
Maksim Abramchuk 2022-09-03 22:37:52 +01:00 committed by GitHub
parent e9b753b4e7
commit 4d201f7e42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ class Rack::Attack
# If you want to return 503 so that the attacker might be fooled into
# believing that they've successfully broken your app (or you just want to
# customize the response), then uncomment these lines.
# self.throttled_response = lambda do |env|
# self.throttled_responder = lambda do |env|
# [ 503, # status
# {}, # headers
# ['']] # body