prefix('reports') ->name('reports.') ->group(function () { Route::livewire('/hours', 'reports::hours')->name('hours'); Route::livewire('/unbilled', 'reports::unbilled')->name('unbilled'); Route::get('/{report}/csv', DownloadReport::class)->whereIn('report', DownloadReport::REPORTS)->name('csv'); });