code: function applyPathPolicies() {
  		var allPolicies = [];
  		for (var routePath in config.policies) {
  			if (routePath.charAt(0) === '/') {
  				var currentPolicies = config.policies[routePath];
  				if (currentPolicies === true) {
  					currentPolicies = [];
  				}
  				if (!Object.isArray(currentPolicies)) {
  					currentPolicies = [currentPolicies];
  				}
  				allPolicies.push({route: routePath, policies: currentPolicies});
  			}
  		}
  		allPolicies.forEach(function(pathPolicy) {
  			pathPolicy.policies.forEach(function(policy) {
  				var policyPath = path.join(config.rootDir, config.paths.policies, policy);
  				app.all(pathPolicy.route, require(policyPath));
  			});
  		});
  	}
docs: apply the path policies (for static routes)