Open nicozimmermann94 opened 8 years ago
I have the following menu item: $home = $mainmenu->add('Startseite', '/abc')->active('/*');
$home = $mainmenu->add('Startseite', '/abc')->active('/*');
When I call {{ $item->url() }} in my blade template, I expect a valid Url, but I get http://abc instead.
{{ $item->url() }}
http://abc
What am I doing wrong?
Found a solution: instead of /abc I had to use simply abc. But the docs say so?
/abc
abc
I have the following menu item:
$home = $mainmenu->add('Startseite', '/abc')->active('/*');
When I call
{{ $item->url() }}
in my blade template, I expect a valid Url, but I gethttp://abc
instead.What am I doing wrong?