Skip to content

Commit

Permalink
Add Auto-Discover Models config key
Browse files Browse the repository at this point in the history
  • Loading branch information
dansysanalyst committed Apr 9, 2024
1 parent 1d828d0 commit 013b44f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions resources/config/livewire-powergrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,19 @@
'csv' => \PowerComponents\LivewirePowerGrid\Components\Exports\OpenSpout\v3\ExportToCsv::class,
],
],

/*
|--------------------------------------------------------------------------
| Auto-Discover Models
|--------------------------------------------------------------------------
|
| PowerGrid will search for Models in the directories listed below.
| These Models be listed as options when you run the
| "artisan powergrid:create" command.
|
*/

'auto_discover_models_paths' => [
app_path('Models'),
],
];

0 comments on commit 013b44f

Please sign in to comment.