Skip to content

Commit

Permalink
Update example description to not suggest using a deprecated method. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimAbramchuk authored Sep 3, 2022
1 parent e9b753b commit 4d201f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/example_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d201f7

Please sign in to comment.