Closed SBoudrias closed 11 years ago
I believe this is fixed in the wip
branch.
Just checked this out, and I have the same issue on the wip branch.
It's because prefix
is formatted here: https://github.com/tbranyen/backbone.routemanager/blob/master/backbone.routemanager.js#L52-L58
But, you re-add the /
here: https://github.com/tbranyen/backbone.routemanager/blob/master/backbone.routemanager.js#L76
And, routes wouldn't need a ending /
if the route is an empty string.
Pushed similar, but cleaner fix here #6
Before, routes names wheren't mapped correctly with their prefix, giving:
Now they're mapped correctly to usable routes by backbone routers.