Automatic link route


#1

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


#2

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


#3

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?


#4

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