mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-30 19:22:12 +00:00
Migrate to SensioLabs attributes
This commit is contained in:
parent
a766826a69
commit
4e177e1778
30 changed files with 122 additions and 192 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue