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