-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
laravel 9 api routes error #186
Comments
Are you using the default setting or have you customized the settings? |
My config |
I'll have to look more at the code. But can you try adding this to your config?
Does that fix it? |
First i would like to thank you for your fast response. when using config:
when using config:
while the expected output is:
|
Not sure. I'll test it and respond with my findings. |
@dangermember this fix is part of v2.4.9 now. Please update and let me know if that fixed your issue |
Thank you very much. |
the command i used
php artisan create:api-scaffold User --with-api-resource
the use at the top of api.php
use App\Api\Http\Controllers\Api\Api\UsersController;
supposed to be
use App\Http\Controllers\Api\UsersController;
data from my composer.json
"php": "^8.0.2",
"laravel/framework": "^9.19",
"crestapps/laravel-code-generator": "^2.4",
The text was updated successfully, but these errors were encountered: