admin: add menu for languages and countries section

This commit is contained in:
nobohan
2022-05-03 09:27:04 +02:00
parent 4c99abd6d3
commit 04f27cc555
8 changed files with 69 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ namespace Chill\MainBundle\DependencyInjection;
use Chill\MainBundle\Controller\AddressApiController;
use Chill\MainBundle\Controller\CivilityApiController;
use Chill\MainBundle\Controller\CountryController;
use Chill\MainBundle\Controller\LanguageController;
use Chill\MainBundle\Controller\LocationController;
use Chill\MainBundle\Controller\LocationTypeController;
use Chill\MainBundle\Controller\UserController;
@@ -401,7 +402,7 @@ class ChillMainExtension extends Extension implements
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Country/edit.html.twig',
'template' => '@ChillMain/Admin/Country/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',
@@ -423,7 +424,7 @@ class ChillMainExtension extends Extension implements
],
'new' => [
'role' => 'ROLE_ADMIN',
'template' => '@ChillMain/Admin/Language/edit.html.twig',
'template' => '@ChillMain/Admin/Language/new.html.twig',
],
'edit' => [
'role' => 'ROLE_ADMIN',