Skip to content

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

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

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions