tmeasday / meteor-router

MIT License
366 stars 76 forks source link

Interpolation of optional arguments doesn't work as expected #103

Open mitar opened 11 years ago

mitar commented 11 years ago

page.js and meteor-router support optional arguments like /p/:id/:slug? (slug is optional in this case). But when I use handlebar helper function to get URL {{showP id slug}}, instead of /p/<id>/<slug> I get /p/<id>/<slug>?. So with ? at the end.