Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Feb 15, 2016
1 parent dd494dc commit c8fad83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ existing routes.

For Laravel 5.1:
```sh
composer require genealabs/laravel-caffeine:~0.2
composer require genealabs/laravel-caffeine:~0.2.0
```

For Laravel 5.2:
```sh
composer require genealabs/laravel-caffeine:~0.3
composer require genealabs/laravel-caffeine:~0.3.0
```

2. Add the service provider entry in `config\app.php`:
Expand All @@ -60,5 +60,5 @@ You can now change the default value in `/app/config/genealabs-laravel-caffeine.
`/app/config/genealabs-laravel-caffeine.php` file will revert back to the default 5-minute interval.

## Usage
That was it! It will apply itself automatically where it finds a form
with a `_token` field while pages are open in browsers.
That was it! It will apply itself automatically where it finds a form with a `_token` field, or a meta tag named
"csrf-token", while pages are open in browsers.

0 comments on commit c8fad83

Please sign in to comment.