@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Palmtree\CanonicalUrlBundle\EventListener; |
4 | 4 | |
5 | -use Palmtree\CanonicalUrlBundle\Service\CanonicalUrlGenerator; |
|
6 | 5 | use Symfony\Component\HttpFoundation\RedirectResponse; |
7 | -use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
|
8 | 6 | use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent; |
9 | 7 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
10 | 8 | use Symfony\Component\Routing\Exception\ResourceNotFoundException; |
@@ -5,11 +5,6 @@ |
||
5 | 5 | use Palmtree\CanonicalUrlBundle\Service\CanonicalUrlGenerator; |
6 | 6 | use Symfony\Component\HttpFoundation\RedirectResponse; |
7 | 7 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
8 | -use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent; |
|
9 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
10 | -use Symfony\Component\Routing\Exception\ResourceNotFoundException; |
|
11 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
12 | -use Symfony\Component\Routing\RouterInterface; |
|
13 | 8 | |
14 | 9 | class RequestListener |
15 | 10 | { |