-
Notifications
You must be signed in to change notification settings - Fork 11.4k
[Bug] Route::resource problem when using $uri like "api/deployement" with a slash #235
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
Comments
Looks to be the same issue as #226. Using this should work: Route::group(array('prefix' => 'api'), function()
{
Route::resource('deployment', 'ApiDeploymentController');
}); |
OK, i'll take a look thank you |
joelharkes
pushed a commit
to joelharkes/framework_old
that referenced
this issue
Mar 7, 2019
joelharkes
pushed a commit
to joelharkes/framework_old
that referenced
this issue
Mar 7, 2019
dbpolito
pushed a commit
to dbpolito/framework
that referenced
this issue
Oct 1, 2019
Fix console.stub indentation
gonzalom
pushed a commit
to Hydrane/tmp-laravel-framework
that referenced
this issue
Oct 12, 2023
Exception Handler Fixes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have update my beautifuly laravel packages today and now, this routing not working anymore :
Route::resource('api/deployment', 'ApiDeploymentController');
I can access to http://localhost/api/deployment but not on http://localhost/api/deployment/1. The framework return me a NotFoundHttpException exception.
If i use this routing instead, all methods works on http://localhost/deployment
Route::resource('deployment', 'ApiDeploymentController');
The text was updated successfully, but these errors were encountered: