Fix copy on safelist description

This commit is contained in:
Carlos Contreras 2018-07-31 15:38:16 -05:00
parent 3ed014d45a
commit 711ba9bf99

View file

@ -86,7 +86,7 @@ Rack::Attack.safelist_ip("5.6.7.0/24")
#### `safelist(name, &block)`
Name your custom safelist and make your ruby-block argument return a truthy value if you want the request to be blocked, and falsy otherwise.
Name your custom safelist and make your ruby-block argument return a truthy value if you want the request to be allowed, and falsy otherwise.
The request object is a [Rack::Request](http://www.rubydoc.info/gems/rack/Rack/Request).