I want to make the layout template dynamic. The value of the layout template would be fetch in the server using a Meteor.call ‘getLayoutTemplate’. Where shall I put the Meteor.call? And it should wait until it fetches the value of the Meteor.call. Any ideas?
Router.configure layoutTemplate: ???? notFoundTemplate: 'notFound'