nl_tokens: Handles binding a regular boring route = > controller combination on the provided app .
pl_tokens: function ( app , route ) { var self = this ; var controller ; var controllerPath = self . options . controllersPath + route . controller ; // Load the controller. try { controller = require ( self . options . rootPath + controllerPath ) ; } catch ( e ) { throw new Error ( 'The specified controller (' + controllerPath + ') does not exist.' ) ; } if ( controller ) { // If the specified method does not exist, throw an exception. if ( controller [ route . method ] === undefined ) { throw new Error ( 'The specified method (' + route . method + ') does not exist on the controller (' + controllerPath + ').' ) ; } // Bind the route. app [ <mask> . verb ] ( route . path , controller [ route . method ] ) ; } }