chiiya / filament-access-control

Admin user, role and permission management for Laravel Filament
MIT License
192 stars 24 forks source link

Got Route [login] not defined. error when try to export xls #59

Open anton-bah opened 2 months ago

anton-bah commented 2 months ago

Discussed in https://github.com/chiiya/filament-access-control/discussions/58

Originally posted by **anton-bah** July 2, 2024 Hi, I installed your plugin and made all migrations. Table filament_users was created, I created users, roles and it works excellent! The problem start when I try to download file using filament exporter (https://filamentphp.com/docs/3.x/actions/prebuilt-actions/export) I got an error Route [login] not defined. Looks like the user is not logged in. I added Export::polymorphicUserRelationship(); to the AppServiceProvider, and also changed export table in database to support multiple user tables, but i still have this issue. Thank you!