Skip to content

Commit

Permalink
Merge pull request #59 from TheoKouzelis/patch-1
Browse files Browse the repository at this point in the history
Correct path to app config
  • Loading branch information
mikebronner authored Jun 27, 2017
2 parents 901154d + 4cd0c0d commit 71fdfd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ This package adds the routes under `genealabs/laravel-caffeine`. Please verify

For Laravel 5.2, follow the directions here: https://github.com/GeneaLabs/laravel-caffeine/tree/166e2ca08af7cc62a59360f33e03d1cb8478df6a

2. Add the service provider entry in `config\app.php`:
2. Add the service provider entry in `config/app.php`:
```php
// 'providers' => [
GeneaLabs\LaravelCaffeine\Providers\LaravelCaffeineService::class,
// ],
```

3. You no longer have to register the middleware manually. If you have done so
previously, please remove the following middleware from `/app/Http/Kernel.php`:
previously, please remove the following middleware from `app/Http/Kernel.php`:
```php
// protected $middleware = [
\GeneaLabs\LaravelCaffeine\Http\Middleware\LaravelCaffeineDripMiddleware::class,
GeneaLabs\LaravelCaffeine\Http\Middleware\LaravelCaffeineDripMiddleware::class,
// ];
```

Expand All @@ -66,8 +66,8 @@ ___Only publish the config file if you need to customize it___:
php artisan vendor:publish --tag=genealabs-laravel-caffeine
```

You can now change the default value in `/app/config/genealabs-laravel-caffeine.php` as desired. Deleting the
`/app/config/genealabs-laravel-caffeine.php` file will revert back to the default settings.
You can now change the default value in `config/genealabs-laravel-caffeine.php` as desired. Deleting the
`config/genealabs-laravel-caffeine.php` file will revert back to the default settings.

## Usage
That was it! It will apply itself automatically where it finds a form with a `_token` field, or a meta tag named
Expand Down

0 comments on commit 71fdfd3

Please sign in to comment.