mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
admin: remove obsolet header => true tag + php code fix
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user