Migrate to SensioLabs attributes

This commit is contained in:
Yassine Guedidi
2025-04-05 15:21:29 +02:00
parent a766826a69
commit 4e177e1778
30 changed files with 122 additions and 192 deletions

View File

@ -21,10 +21,8 @@ class PocketHtmlController extends HtmlController
) {
}
/**
* @IsGranted("IMPORT_ENTRIES")
*/
#[Route(path: '/import/pocket_html', name: 'import_pocket_html', methods: ['GET', 'POST'])]
#[IsGranted('IMPORT_ENTRIES')]
public function indexAction(Request $request, TranslatorInterface $translator)
{
return parent::indexAction($request, $translator);