Comparing version 0.1.0-beta-27 to 0.1.0-beta-28
@@ -415,2 +415,7 @@ "use strict"; | ||
if (this.isRendered) { | ||
// we have multiple recursion in parse for catching | ||
return false; | ||
} | ||
// stop current chain!!! | ||
@@ -417,0 +422,0 @@ this.stopPromiseChain(); |
@@ -30,4 +30,10 @@ "use strict"; | ||
this.config = core.extend({ | ||
errorRoute: false | ||
errorRoute: false, | ||
errorUrl: '/error' | ||
}, config); | ||
// add error route so we can resolve it | ||
this.add({ | ||
pattern: this.config.errorUrl, | ||
route: this.config.errorRoute | ||
}); | ||
}, | ||
@@ -34,0 +40,0 @@ /** |
@@ -5,3 +5,3 @@ { | ||
"description": "Powerful lightweight mvc framework for nodejs", | ||
"version": "0.1.0-beta-27", | ||
"version": "0.1.0-beta-28", | ||
"dependencies" : { | ||
@@ -8,0 +8,0 @@ "mongoose": "3.8.x", |
124956
4018