Skip to content

Commit

Permalink
Merge pull request #293 from lara-zeus/model-config-empty
Browse files Browse the repository at this point in the history
empty boltModels by default, set the config or override them in your …
  • Loading branch information
atmonshi authored May 30, 2024
2 parents 50e9ca4 + a3e0e74 commit c300021
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,7 @@ trait Configuration
/**
* you can overwrite any model and use your own
*/
protected array $boltModels = [
'Category' => \LaraZeus\Bolt\Models\Category::class,
'Collection' => \LaraZeus\Bolt\Models\Collection::class,
'Field' => \LaraZeus\Bolt\Models\Field::class,
'FieldResponse' => \LaraZeus\Bolt\Models\FieldResponse::class,
'Form' => \LaraZeus\Bolt\Models\Form::class,
'FormsStatus' => \LaraZeus\Bolt\Models\FormsStatus::class,
'Response' => \LaraZeus\Bolt\Models\Response::class,
'Section' => \LaraZeus\Bolt\Models\Section::class,
];
protected array $boltModels = [];

protected array $hideResources = [];

Expand Down

0 comments on commit c300021

Please sign in to comment.