mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-26 14:57:47 +00:00
Change Rack::Request URL in the README
This commit is contained in:
parent
b0bf74f9d9
commit
5fbe7de686
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
|
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/`.
|
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](https://github.com/rack/rack/blob/master/lib/rack/request.rb) object is passed to the block (named 'req' in the examples).
|
||||||
|
|
||||||
### Whitelists
|
### Whitelists
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue