Closed lucianlature closed 9 years ago
This depends completely on the version of routes-router
.
Can you npm install routes-router --save
and update the package.json & verify it again ?
Installed the latest version of routes-router
initially and this is how I've noticed the bug in the first place. So, yes, I've verified it again and it needs opts.params.name
instead of opts.name
.
The latest version of routes-router is version 4. Can you update the package.json ?
@Raynos: Since https://github.com/Raynos/routes-router is deprecated, wouldn't be beneficial on the longer term to use https://github.com/Matt-Esch/http-hash-router instead?
Yes and remove examples/lib/router
.
@lucianlature yeah, feel free to fix that in this PR or in another PR.
Refactoring examples/lib/router into mercury-router is out of scope for this PR, but feel free to open a seperate PR for that.
@lucianlature is this PR good to go?
@kumavis: Yep :+1:
if it works then #coolstory #shipit
Fixed a bug where each example was
undefined
in content due to not correctly being set.