Route not defined
I defined a custom route in web.php like the following:
Route::get('download-file', function () {
// download file
});
but when accessing it from infolist custom ViewEntry I got always Route [download-file] not defined1 Reply
Solution
You haven’t defined the route name. ->name(‘download-file’)