© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
karmac

Route not defined

I defined a custom route in web.php like the following:
Route::get('download-file', function () {
    // download file
});
Route::get('download-file', function () {
    // download file
});


but when accessing it from infolist custom ViewEntry I got always Route [download-file] not defined
Solution
You haven’t defined the route name. ->name(‘download-file’)
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Route not defined.
FilamentFFilament / ❓┊help
2y ago
Route not defined.
FilamentFFilament / ❓┊help
3y ago
Route [login] not defined
FilamentFFilament / ❓┊help
12mo ago
Route [login] not defined.
FilamentFFilament / ❓┊help
13mo ago