admin: remove obsolet header => true tag + php code fix

This commit is contained in:
nobohan
2022-05-10 11:46:17 +02:00
parent 0e8b73638f
commit be27df1fd5
17 changed files with 30 additions and 39 deletions

View File

@@ -17,7 +17,7 @@ use Symfony\Component\Routing\Annotation\Route;
class AdminController extends AbstractController
{
/**
* ThirdParty admin
* ThirdParty admin.
*
* @Route("/{_locale}/admin/thirdparty", name="chill_thirdparty_admin_index")
*/
@@ -25,5 +25,4 @@ class AdminController extends AbstractController
{
return $this->render('ChillThirdPartyBundle:Admin:index.html.twig');
}
}
}

View File

@@ -37,7 +37,7 @@ class AdminMenuBuilder implements LocalMenuBuilderInterface
'route' => 'chill_thirdparty_admin_index',
])
->setAttribute('class', 'list-group-item-header')
->setExtras(['order' => 3000, 'header' => true]);
->setExtras(['order' => 3000]);
$menu->addChild('Third party category', [
'route' => 'chill_crud_thirdparty_thirdparty-category_index',