Permalink
Browse files

Fix 404s

  • Loading branch information...
1 parent f558b68 commit cf57346bf0e7e319a8b88488b2888fff9c6364be Mike Ihbe committed Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/app.js
View
@@ -328,8 +328,6 @@ var App = function () {
});
params = router.first(req, method);
- controllerName = params.controller;
- actionName = params.action;
}
if (params) {
@@ -342,6 +340,8 @@ var App = function () {
});
}
else {
+ controllerName = params.controller;
+ actionName = params.action;
ctor = ctors[params.controller];
if (ctor) {
// Merge params from the URL and the query-string to produce a

0 comments on commit cf57346

Please sign in to comment.