Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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