mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53: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
|
||||
{
|
||||
/**
|
||||
* Calendar admin
|
||||
* Calendar admin.
|
||||
*
|
||||
* @Route("/{_locale}/admin/calendar", name="chill_calendar_admin_index")
|
||||
*/
|
||||
@@ -25,5 +25,4 @@ class AdminController extends AbstractController
|
||||
{
|
||||
return $this->render('ChillCalendarBundle:Admin:index.html.twig');
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -37,7 +37,7 @@ class AdminMenuBuilder implements LocalMenuBuilderInterface
|
||||
'route' => 'chill_calendar_admin_index',
|
||||
])
|
||||
->setAttribute('class', 'list-group-item-header')
|
||||
->setExtras(['order' => 6000, 'header' => true]);
|
||||
->setExtras(['order' => 6000]);
|
||||
|
||||
$menu->addChild('Cancel reason', [
|
||||
'route' => 'chill_crud_calendar_cancel-reason_index',
|
||||
|
Reference in New Issue
Block a user