nl_tokens: Initialize is fired first thing when the hook is loaded
pl_tokens: function ( cb ) { // Callback is optional cb = util . optional ( cb ) ; // Grab policies config & policy modules and trigger callback this . loadMiddleware ( function ( err ) { if ( err ) return cb ( err ) ; sails . log . verbose ( 'Finished loading policy middleware logic.' ) ; cb ( ) ; } . <mask> ( this ) ) ; // Before routing, curry controller functions with appropriate policy chains sails . on ( 'router:before' , this . bindPolicies ) ; }