mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-26 14:57:47 +00:00
Readme: installation => getting started
This commit is contained in:
parent
1903edd1cf
commit
eb81baf612
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ See the [Backing & Hacking blog post](http://www.kickstarter.com/backing-and-hac
|
||||||
[](https://codeclimate.com/github/kickstarter/rack-attack)
|
[](https://codeclimate.com/github/kickstarter/rack-attack)
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Getting started
|
||||||
|
|
||||||
Install the [rack-attack](http://rubygems.org/gems/rack-attack) gem; or add it to you Gemfile with bundler:
|
Install the [rack-attack](http://rubygems.org/gems/rack-attack) gem; or add it to you Gemfile with bundler:
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@ Add a `rack-attack.rb` file to `config/initalizers/`:
|
||||||
```ruby
|
```ruby
|
||||||
# In config/initializers/rack-attack.rb
|
# In config/initializers/rack-attack.rb
|
||||||
module Rack::Attack
|
module Rack::Attack
|
||||||
# configuration...
|
# your custom configuration...
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue