Nova-BI / nova-dashboard-manager

Dashboard Manager for Laravel Nova
MIT License
21 stars 8 forks source link

App\User not found when using User example #2

Closed xoco70 closed 3 years ago

xoco70 commented 3 years ago

With Laravel 8, User model is in App\Models\Users, but you're expecting App\Users

it should be possible to set it in config file

cord commented 3 years ago

@marispro can you check?

marispro commented 3 years ago

Added option to set model in config file: https://github.com/Nova-BI/nova-dashboard-manager/releases/tag/0.5

Need to re-publish configuration: php artisan vendor:publish --provider="NovaBi\NovaDashboardManager\DashboardManagerServiceProvider" --tag="config"

By default user models is set to App\Models\Users