Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clearer message regarding missing controller action.

  • Loading branch information...
commit 50832f4989af6b3d5b31e34de6b6add4ed3943c5 1 parent c13a070
@aljimenez aljimenez authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/app/autoload/action-context.common.js
View
3  lib/app/autoload/action-context.common.js
@@ -322,7 +322,8 @@ YUI.add('mojito-action-context', function(Y, NAME) {
actionFunction = '__call';
} else {
// If there is still no joy then die
- error = new Error('Action "' + this.action + '" not defined by the controller named "' + this.instance.controller + '" of the "' + this.type + '" mojit.');
+ error = new Error('Action "' + this.action + '" not defined by the controller named "'
+ + this.instance.controller + '" of the "' + this.type + '" mojit.');
error.code = 404;
throw error;
}
Please sign in to comment.
Something went wrong with that request. Please try again.