mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
fixed spelling issue, returna to return (#334)
* fixed spelling issue, returna to returns * fixed the spelling properly this time, returns to return
This commit is contained in:
parent
63e330f794
commit
f56967f923
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ Rack::Attack.blocklist_ip("1.2.0.0/16")
|
|||
|
||||
#### `blocklist(name, &block)`
|
||||
|
||||
Name your custom blocklist and make your ruby-block argument returna a truthy value if you want the request to be blocked, and falsy otherwise.
|
||||
Name your custom blocklist and make your ruby-block argument return a truthy value if you want the request to be blocked, and falsy otherwise.
|
||||
|
||||
The request object is a [Rack::Request](http://www.rubydoc.info/gems/rack/Rack/Request).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue