mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
sf4, fix error with index 'icon' in menu
This commit is contained in:
parent
43a975ae48
commit
ec726ced19
@ -115,7 +115,8 @@ class MenuComposer
|
||||
'order' => $order
|
||||
])
|
||||
->setExtras([
|
||||
'icon' => $route['icon'],
|
||||
//'icon' => $route['icon'],
|
||||
// sf4 check: commented to avoid error: `An exception has been thrown during the rendering of a template ("Notice: Undefined index: icon").`
|
||||
'order' => $order
|
||||
])
|
||||
;
|
||||
|
@ -82,7 +82,7 @@ class MenuTwig extends AbstractExtension implements ContainerAwareInterface
|
||||
* - layout: the layout. Absolute path needed (i.e.: ChillXyzBundle:section:foo.html.twig)
|
||||
* - activeRouteKey : the key active, will render the menu differently.
|
||||
*
|
||||
* see https://redmine.champs-libres.coop/issues/179 for more informations
|
||||
* @deprecated link: see https://redmine.champs-libres.coop/issues/179 for more informations
|
||||
*
|
||||
* @param string $menuId
|
||||
* @param mixed[] $params
|
||||
|
Loading…
x
Reference in New Issue
Block a user