mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Update README.md
Update init file from module to class
This commit is contained in:
parent
0e599a4dd6
commit
3fe74441d7
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ use Rack::Attack
|
|||
Add a `rack-attack.rb` file to `config/initalizers/`:
|
||||
```ruby
|
||||
# In config/initializers/rack-attack.rb
|
||||
module Rack::Attack
|
||||
class Rack::Attack
|
||||
# your custom configuration...
|
||||
end
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue