From f317051f2ded267dbe399e65476e741130d42e50 Mon Sep 17 00:00:00 2001 From: Theo Kouzelis Date: Mon, 27 Mar 2017 23:07:39 +0100 Subject: [PATCH 1/3] Correct path to app config --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 116c960..0a25848 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ 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 GeneaLabs\LaravelCaffeine\Providers\LaravelCaffeineService::class, ``` From cc0b9f405b99cb068bf86bcbd45ef1ed6a5cc1c0 Mon Sep 17 00:00:00 2001 From: Theo Kouzelis Date: Mon, 27 Mar 2017 23:26:31 +0100 Subject: [PATCH 2/3] Correct more config paths --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0a25848..c4af950 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,10 @@ This package adds the routes under `genealabs/laravel-caffeine`. Please verify ``` 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, // ]; ``` @@ -63,8 +63,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 From c0c781cabb717294ce0da5bd659efff3d36c10f9 Mon Sep 17 00:00:00 2001 From: Theo Kouzelis Date: Mon, 27 Mar 2017 23:31:38 +0100 Subject: [PATCH 3/3] Fix PHP code block style --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c4af950..13d9494 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ This package adds the routes under `genealabs/laravel-caffeine`. Please verify 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`: ```php -// protected $middleware = [ - GeneaLabs\LaravelCaffeine\Http\Middleware\LaravelCaffeineDripMiddleware::class, -// ]; + protected $middleware = [ + GeneaLabs\LaravelCaffeine\Http\Middleware\LaravelCaffeineDripMiddleware::class, + ]; ``` ## Configuration