diff --git a/README.md b/README.md index 1601d60..2a1e2da 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ ### **Api Auto Pilot** is laravel package that makes the procecess of creating laravel RESTful APIs a breeze! -Make sure to check the [Documentation Website](https://apiautopilot.info/) of the package for more information about the package ## Installation diff --git a/src/Commands/InstallationCommand.php b/src/Commands/InstallationCommand.php index eeba51c..c205176 100644 --- a/src/Commands/InstallationCommand.php +++ b/src/Commands/InstallationCommand.php @@ -29,7 +29,7 @@ public function handle(): int protected function installMiddlewareToKernel(): static { - $kernelContent = file_get_contents(app_path('Http\Kernel.php')); + $kernelContent = file_get_contents(app_path('Http/Kernel.php')); if (! Str::contains($kernelContent, "'modelSearch' =>")) { $this->replaceInFile(self::ROUTE_MIDDLEWARE_ARRAY, self::ROUTE_MIDDLEWARE_ARRAY.PHP_EOL.