csabit1000
csabit1000
FFilament
Created by csabit1000 on 5/30/2024 in #❓┊help
Downloading exported resources problem (problem with the auth guards)
I have a filament resource and I want to export then download them as a csv file. I set up everything as the filament documentation said so I can export the resources with a bulk action, then I get the notification where I can click the download csv button. After I did these I got the error Route [login] not defined. So I added this code to the web.php:
Route::get('/laravel/login',
fn() => redirect(route('filament.admin.auth.login'))
)->name('login');
Route::get('/laravel/login',
fn() => redirect(route('filament.admin.auth.login'))
)->name('login');
With this modification it doesn't gives the error but the system opens a new window and redirects me to my filament dashboard instead of the csv gets downloaded. Anyone have something in mind what can I do with this?
7 replies