IronRouter: urlFor js equivalent server side


#1

Hi,

Does anybody has an idea for a JS equivalent to the urlFor helper from IronRouter?
I’m trying to generate an url for a given Route with parameters in order to send an email server side with it.
I need something like Router.urlFor(‘nameOfTheRoute’, {_id:anID});
But I can’t found any simple and short way to do it.

thanks for your help,