Skip to content

Route matcher relies on ordering to distinguish named param from explicit route #53

@flahertyb

Description

@flahertyb

Currently a routeLevel defined like this:

'/path': {
  '/:category': 'index',
  '/another_level': 'another_action'
}

and a route like this: /path/another_level

will not result in the expected behavior. The route matcher assumes that another_level is the namedParam value for category

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions