diff --git a/Routing/MenuComposer.php b/Routing/MenuComposer.php index e03f61ba2..0bcee4c81 100644 --- a/Routing/MenuComposer.php +++ b/Routing/MenuComposer.php @@ -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 ]) ; diff --git a/Routing/MenuTwig.php b/Routing/MenuTwig.php index 18cdf5c5d..fe233e205 100644 --- a/Routing/MenuTwig.php +++ b/Routing/MenuTwig.php @@ -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