Newbie trying to use houston:admin in Meteor project with iron-router
In iron-router’s hook onBeforeAction, with except: [ … ], like
Router.onBeforeAction({
if (!Meteor.user()) {
Router.go(’\login’);
}
}, {except: [‘login’]});
What should I put inside except:[] to make houston:admin an exception? Or if there exists a better way.
Thanks very much for helping!