forked from wallabag/wallabag
Migrate to Symfony attributes
This commit is contained in:
@ -14,11 +14,10 @@ use Wallabag\Import\ImportInterface;
|
||||
abstract class BrowserController extends AbstractController
|
||||
{
|
||||
/**
|
||||
* @Route("/import/browser", name="import_browser", methods={"GET", "POST"})
|
||||
* @IsGranted("IMPORT_ENTRIES")
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
#[Route(path: '/import/browser', name: 'import_browser', methods: ['GET', 'POST'])]
|
||||
public function indexAction(Request $request, TranslatorInterface $translator)
|
||||
{
|
||||
$form = $this->createForm(UploadImportType::class);
|
||||
|
||||
Reference in New Issue
Block a user