Skip to content

[Bug] Route::resource problem when using $uri like "api/deployement" with a slash #235

Closed
@maximebeaudoin

Description

@maximebeaudoin

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions