소스 검색

[FrameworkBundle] fixed 404 exception class name

mwsaz 14 년 전
부모
커밋
ddd05cfce4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Controller/ExceptionController.php

@@ -75,7 +75,7 @@ class ExceptionController extends ContainerAware
         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;