We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route definition:
{ pattern: '/jeans(/<brand>(/<id>))', conditions: { brand: [ 'levis', 'wrangler' ], id: '\\d{3,5}' }, defaults: { brand: 'levis' } }
Values for the parameter id is accepted from the URL '/jeans/levis?id=5&id=6':
id
'/jeans/levis?id=5&id=6'
{ "brand": "levis", "id": [ "5", "6" ] }
The text was updated successfully, but these errors were encountered:
/jfi @doochik @pasaran
Sorry, something went wrong.
Why? It's enough?
The task was to distinguish this two urls
/jeans/levis /jeans/levis?id=112
and use different controllers for them. It looks like this is impossible now, as urls:
/jeans/levis /jeans/levis/12 /jeans/levis/112 /jeans/levis?id=112 /jeans/levis?id=123123123 '/jeans/levis?asdd'
are all matched to the route
{ pattern: '/jeans(/<brand>(/<id>))', conditions: { brand: [ 'levis', 'wrangler' ], id: '\\d{3,5}' }, data: { controller: 'brand' } }
Hello from 2K20! Got the same problem.
No branches or pull requests
Route definition:
Values for the parameter
id
is accepted from the URL'/jeans/levis?id=5&id=6'
:The text was updated successfully, but these errors were encountered: