lib/routing.js
function addResourceRoute(routePath, controllerName) {
		resourceRouting.forEach(function(route) {
			var actionPath = route.path.replace(':controller', controllerName);
			route.verbs.forEach(function (verb) {
				addSingleRoute(verb, actionPath, controllerName, route.target.action);
			});
		});
	}
function addResourceRoute(routePath, controllerName) {
		resourceRouting.forEach(function(route) {
			var actionPath = route.path.replace(':controller', controllerName);
			route.verbs.forEach(function (verb) {
				addSingleRoute(verb, actionPath, controllerName, route.target.action);
			});
		});
	}
function addResourceRoute ( routePath , controllerName ) { resourceRouting . forEach ( function ( route ) { var actionPath = route . path . replace ( ':controller' , controllerName ) ; route . verbs . forEach ( function ( verb ) { addSingleRoute ( verb , actionPath , controllerName , route . target . action ) ; } ) ; } ) ; }
add a resource route
@param {String} routePath      route path
@param {String} controllerName controller name
add a resource route