mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
23784a2eca
Previously, routes would be generated with a leading slash after the parens:
example.com/foo(/bar)
This fix removes the trailing slash when generating the URL, so now we have:
example.com/foo(bar)
This change is not breaking because we still recognize both forms. We just normalize
without the slash.