Closed
Description
If I define a parameter in the url and state that squash is true for it, it will ignore slashes and think that things after the id.
I want /test
to be the url for the state. However, if squash is true, then it will also match /test123
and use 123 as the id. It should not match the state.
http://plnkr.co/edit/oIdIw3ntlqUpzHxhTWQe?p=preview
Example of the bug: http://run.plnkr.co/y1ii0hP2lnbQ3DLC/#/test123
$stateProvider.state('layout', {
url: '/test/:id',
params: {
id: {
value: null,
squash: true
}
},
...
Metadata
Metadata
Assignees
Labels
No labels