mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Migrate to SensioLabs attributes
This commit is contained in:
parent
a766826a69
commit
4e177e1778
30 changed files with 122 additions and 192 deletions
|
@ -21,10 +21,8 @@ class FirefoxController extends BrowserController
|
|||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @IsGranted("IMPORT_ENTRIES")
|
||||
*/
|
||||
#[Route(path: '/import/firefox', name: 'import_firefox', methods: ['GET', 'POST'])]
|
||||
#[IsGranted('IMPORT_ENTRIES')]
|
||||
public function indexAction(Request $request, TranslatorInterface $translator)
|
||||
{
|
||||
return parent::indexAction($request, $translator);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue