Skip to content

Commit

Permalink
[MVC-Loader] Fixed some minor typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack12816 committed Mar 26, 2014
1 parent f5046cc commit f2f780e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/http/mvc/loader.js
Expand Up @@ -72,7 +72,6 @@ ControllerLoader.prototype.getCanonicalPath = function(path, controller, module)
*/
ControllerLoader.prototype.getBasePath = function(controller, path, module)
{

if (controller.options && controller.options.path) {
return controller.options.path;
}
Expand Down Expand Up @@ -158,7 +157,7 @@ ControllerLoader.prototype.prepareControllerActions = function(controller, callb
}

// Authentication routes are specified by the client
// to walk through them
// so walk through them
if (auth &&
util.isArray(controller.options.auth.routes) &&
0 !== controller.options.auth.routes.length) {
Expand Down

0 comments on commit f2f780e

Please sign in to comment.