Is there any way to take out the view name used for a route?
I have pulled out all the GET routes from web.php using
array_keys(\Route::getRoutes()->getRoutesByMethod()['GET']);
With the list like:
1. /
2. /users
3. /admin
....
I would like to get the view name for routes like so
/ => home.blade.php
/users => users.blade.php
/admin => adminPanel.blade.php
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire