mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 19:09:45 +00:00
Apply rector rules: symfony up to 54
This commit is contained in:
@@ -58,9 +58,7 @@ class AdminDocGeneratorTemplateController extends CRUDController
|
||||
return parent::new($request);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("{_locale}/admin/docgen/template/pick-context", name="chill_docgen_admin_template_pick-context")
|
||||
*/
|
||||
#[Route(path: '{_locale}/admin/docgen/template/pick-context', name: 'chill_docgen_admin_template_pick-context')]
|
||||
public function pickContext(Request $request): Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('ROLE_ADMIN');
|
||||
|
Reference in New Issue
Block a user