forked from wallabag/wallabag
Migrate to Symfony attributes
This commit is contained in:
@ -22,9 +22,9 @@ class PocketHtmlController extends HtmlController
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/import/pocket_html", name="import_pocket_html", methods={"GET", "POST"})
|
||||
* @IsGranted("IMPORT_ENTRIES")
|
||||
*/
|
||||
#[Route(path: '/import/pocket_html', name: 'import_pocket_html', methods: ['GET', 'POST'])]
|
||||
public function indexAction(Request $request, TranslatorInterface $translator)
|
||||
{
|
||||
return parent::indexAction($request, $translator);
|
||||
|
||||
Reference in New Issue
Block a user