Automatic link route

Can you add a link a route (using iron:router) without the need to add it in routes.js?

W-… what are you trying to do? Your question doesn’t make a lot of sense

Sorry for a poor explanation.

When adding a link I add it in iron:router as:

Router.route('/link', function () { this.render('mytemplate'); });

Can I do something so I don’t need to add each link in my routes.js?

I think this might point you in the right direction for what you’re after:

1 Like