diff --git a/README.md b/README.md index d330116..0ca1761 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Next, add middleware in `$middlewareGroups > web` section in `app/Http/Kernel.ph protected $middlewareGroups = [ 'web' => [ - Helldar\LastModified\CheckLastModified::class, + \Helldar\LastModified\Middlewares\CheckLastModified::class, ] ] ``` diff --git a/src/Middlewares/CheckLastModified.php b/src/Middlewares/CheckLastModified.php index 2dbf7a9..e538fa2 100644 --- a/src/Middlewares/CheckLastModified.php +++ b/src/Middlewares/CheckLastModified.php @@ -1,6 +1,6 @@