Skip to content

Routes belonging to a collection are not prefixed with the base route #12

@fpetkovski

Description

@fpetkovski

I expected this piece of code

$collection = new RouteCollection(new Route('/collection-prefix'));

to prefix all routes belonging to that collection with /collection-prefix. However, the routes in $collection will not contain the base route prefix when added to the router.

Is this behavior expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions