Commit 9ccc0e48 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

Update MediaController.php

parent a4c02196
......@@ -13,7 +13,6 @@ use Cwd\MediaBundle\Model\Entity\Media;
use Cwd\MediaBundle\Service\MediaService;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use JMS\SecurityExtraBundle\Annotation\PreAuthorize;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Symfony\Component\HttpFoundation\JsonResponse;
......@@ -25,7 +24,6 @@ use Symfony\Component\HttpFoundation\Request;
* @package Cwd\MediaBundle\Controller
* @author Ludwig Ruderstaller <lr@cwd.at>
*
* @PreAuthorize("hasRole('ROLE_ADMIN')")
* @Route("/media")
*/
class MediaController extends Controller
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment