From 003223d89e723ccf360fd580b48c0eecd0703343 Mon Sep 17 00:00:00 2001 From: mwsaz Date: Sun, 12 Dec 2010 01:46:41 +0100 Subject: [PATCH] [FrameworkBundle] fixed 404 exception class name --- .../Bundle/FrameworkBundle/Controller/ExceptionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php index 2d5bea26b6389..15b1f1e2aba97 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php @@ -75,7 +75,7 @@ protected function getStatusCode(FlattenException $exception) switch ($exception->getClass()) { case 'Symfony\Component\Security\Exception\AccessDeniedException': return 403; - case 'Symfony\Component\HttpKernel\Exception\HttpNotFoundException': + case 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException': return 404; default: return 500;