Skip to content

Instantly share code, notes, and snippets.

Router.configure({
layoutTemplate: 'ApplicationLayout',
notFoundTemplate: 'notFound',
yieldTemplates: {
'header': {to: 'heading'}
}
});
function requireLogin(pause){
if (!Meteor.userId()){