Answer the question
In order to leave comments, you need to log in
How to make the route:list command display the path to the action and not the Closure?
Hello. Laravel has a way to write routes like this:
Route::name('domains')->get('domains', [DashboardController::class, 'domains']);
php artisan route:list
where is the path to the Closure controller. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question