lib/routing.js
function addSingleRoute(verb, routePath, controllerName, actionName) {
		// add controller and action fields to the request
		var reqExtender = function(req, res, next) {
			req.controller = controllerName;
			req.action = actionName || 'index';
			next();
		};

		var params = [routePath, reqExtender];
		params = params.concat(getPolicies(controllerName, actionName));
		params.push(getAction(controllerName, actionName));

		app[verb].apply(app, params);
	}
function addSingleRoute(verb, routePath, controllerName, actionName) {
		// add controller and action fields to the request
		var reqExtender = function(req, res, next) {
			req.controller = controllerName;
			req.action = actionName || 'index';
			next();
		};

		var params = [routePath, reqExtender];
		params = params.concat(getPolicies(controllerName, actionName));
		params.push(getAction(controllerName, actionName));

		app[verb].apply(app, params);
	}
function addSingleRoute ( verb , routePath , controllerName , actionName ) { // add controller and action fields to the request var reqExtender = function ( req , res , next ) { req . controller = controllerName ; req . action = actionName || 'index' ; next ( ) ; } ; var params = [ routePath , reqExtender ] ; params = params . concat ( getPolicies ( controllerName , actionName ) ) ; params . push ( getAction ( controllerName , actionName ) ) ; app [ verb ] . apply ( app , params ) ; }
adds a single route
@param {String} verb           HTTP verb
@param {String} routePath      routing path
@param {String} controllerName controller name
@param {String} actionName     action name
adds a single route