nl_tokens: Router protorype
pl_tokens: function Router ( we ) { this . we = we ; let router = this ; this . publicRouter = null ; this . routeMap = { } ; // resources tree this . <mask> = { } ; // resources salved by name this . resourcesByName = { } ; this . resourcesSort = [ ] ; this . search = require ( './search' ) ; router . singleRecordActions = [ 'findOne' , 'update' , 'destroy' , 'updateAttribute' , 'deleteAttribute' , 'addRecord' , 'removeRecord' , 'getRecord' , 'edit' , 'delete' ] ; we . events . emit ( 'we:Router:construct' , this ) ; }