Reroute to 404 if no route is to handle the URI

This commit is contained in:
2014-10-22 10:38:50 +08:00
parent 56fe5a4b44
commit bbb604af66
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -82,6 +82,7 @@ Router.prototype.route = function()
}
}
this.setRoute( "*", currentRoute );
this.routable = false;
return false;
};