I have config file
named sidebar.php
I keep there menu's urls.
How to place route() function in that config file?
That is the structure:
return [
'menu' => [[
'icon' => 'fa fa-th-large',
'title' => 'Home',
'url' => route('home.dashboard')
]]
]
The line 'url' => route('home.dashboard')
causes error 500.
That solution will not work:
return [
'url' => 'admin.index',
]
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire