code: function getAction(controllerName, actionName) {
  		controllerName = controllerName.camelize();
  		var controller = app.controllers[controllerName];
  		if (controller === undefined && app.models[controllerName])
  			controller = defaultController;
  
  		if (controller)
  			return controller[actionName || 'index'];
  		else
  			return null;
  	}
docs: Find the action function based on controller name and action name.
  If no controller but a model is found, the default controller is taken.
  @param  {String} controllerName controller name
  @param  {String} actionName     action name
  @return {Function}              action function