mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
commit
efdef7f45c
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ can cleanly monkey patch helper methods onto the
|
|||
|
||||
Define whitelists, blacklists, throttles, and tracks as blocks that return truthy values if matched, falsy otherwise. In a Rails app
|
||||
these go in an initializer in `config/initializers/`.
|
||||
A [Rack::Request](http://rack.rubyforge.org/doc/classes/Rack/Request.html) object is passed to the block (named 'req' in the examples).
|
||||
A [Rack::Request](http://www.rubydoc.info/gems/rack/Rack/Request) object is passed to the block (named 'req' in the examples).
|
||||
|
||||
### Whitelists
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue