mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 12:29:43 +00:00
Run symfonysetlist up to symfony_70
This commit is contained in:
@@ -19,7 +19,7 @@ class AdminController extends AbstractController
|
||||
/**
|
||||
* ThirdParty admin.
|
||||
*/
|
||||
#[Route(path: '/{_locale}/admin/thirdparty', name: 'chill_thirdparty_admin_index')]
|
||||
#[\Symfony\Component\Routing\Attribute\Route(path: '/{_locale}/admin/thirdparty', name: 'chill_thirdparty_admin_index')]
|
||||
public function indexAdminAction(): \Symfony\Component\HttpFoundation\Response
|
||||
{
|
||||
return $this->render('@ChillThirdParty/Admin/index.html.twig');
|
||||
|
@@ -38,7 +38,7 @@ class ThirdpartyCSVExportController extends AbstractController
|
||||
* @throws CannotInsertRecord
|
||||
* @throws Exception
|
||||
*/
|
||||
#[Route(path: '/{_locale}/admin/thirdparty/export/list.{_format}', name: 'chill_thirdparty_admin_export_list', requirements: ['_format' => 'csv'])]
|
||||
#[\Symfony\Component\Routing\Attribute\Route(path: '/{_locale}/admin/thirdparty/export/list.{_format}', name: 'chill_thirdparty_admin_export_list', requirements: ['_format' => 'csv'])]
|
||||
public function socialIssueList(Request $request, string $_format = 'csv'): StreamedResponse
|
||||
{
|
||||
if (!$this->security->isGranted('ROLE_ADMIN')) {
|
||||
|
Reference in New Issue
Block a user