routes-authenticated.js 242 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 10 11 12 13 /* * Routes: Authenticated * Routes that are only visible to authenticated users. */ Router.route('index', { path: '/', template: 'index', onBeforeAction: function(){ // Code to run before route goes here. this.next(); } });