Rather than having five different routes, I am trying to combined five different paths into a single function, but I still need to know which path it matched. So if I set up
I think the best way to do this would be to use a loop to define several routes.
_.each(["accounts", "contacts", "forecasts"], function (path) { Router.route(path, function () { // inside here you can reference path }); });
Using one route with many unrelated paths seems like a hack to me.