menus
menus copied to clipboard
url() does not generate a real Url
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 get http://abc
instead.
What am I doing wrong?
Found a solution: instead of /abc
I had to use simply abc
. But the docs say so?