Permalink
Browse files

MINOR Returning at least some error feedback when admin/* route isn't…

… found (fixes #7409)
  • Loading branch information...
1 parent c18c29f commit 31a66e0424b51c51b319cdb6c35814669f8e7d9d @chillu chillu committed Jun 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 admin/code/AdminRootController.php
@@ -89,5 +89,7 @@ function handleRequest(SS_HTTPRequest $request, DataModel $model) {
}
}
}
+
+ return $this->httpError(404, 'Not found');
}
}

0 comments on commit 31a66e0

Please sign in to comment.