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',
]
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2r75BIS
via IFTTT
Aucun commentaire:
Enregistrer un commentaire