Skip to content

Commit

Permalink
Merge branch 'main' into PPF-470-e2e-uitpas
Browse files Browse the repository at this point in the history
  • Loading branch information
LucWollants authored Jul 24, 2024
2 parents 977a797 + 741a5e3 commit 0a3ffad
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 149 deletions.
5 changes: 5 additions & 0 deletions app/Providers/NovaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\Schema;
use Laravel\Nova\Dashboard;
use Laravel\Nova\Menu\MenuItem;
use Laravel\Nova\Nova;
use Laravel\Nova\NovaApplicationServiceProvider;

Expand All @@ -19,6 +20,10 @@ public function boot(): void
parent::boot();

Schema::morphUsingUuids();

Nova::mainMenu(
fn () => array_map(fn ($resource) => MenuItem::resource($resource), Nova::$resources)
);
}

protected function routes(): void
Expand Down
Loading

0 comments on commit 0a3ffad

Please sign in to comment.