@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace Webcook\Cms\CoreBundle\Base; |
4 | 4 | |
5 | 5 | use FOS\RestBundle\Controller\FOSRestController; |
6 | -use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
|
7 | -use Webcook\Cms\SecurityBundle\Common\SecurityHelper; |
|
8 | 6 | |
9 | 7 | /** |
10 | 8 | * TODO documentation. |
@@ -82,7 +82,7 @@ |
||
82 | 82 | |
83 | 83 | $crawler = $this->client->request( |
84 | 84 | $method, |
85 | - $url . ($addPostfix ? '.json' : ''), |
|
85 | + $url.($addPostfix ? '.json' : ''), |
|
86 | 86 | array(), |
87 | 87 | array(), |
88 | 88 | array( |