Skip to content

Commit

Permalink
Configure Filament Shield
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jun 23, 2024
1 parent c2cf9c4 commit aff71c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public function panel(Panel $panel): Panel
])
->authMiddleware([
Authenticate::class,
]);
])
->plugins([
\BezhanSalleh\FilamentShield\FilamentShieldPlugin::make()
]);
}
}
5 changes: 4 additions & 1 deletion app/Providers/Filament/AppPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ public function panel(Panel $panel): Panel
->url(fn () => $this->shouldRegisterMenuItem()
? url(EditTeam::getUrl())
: url($panel->getPath())),
]);
])
->plugins([
\BezhanSalleh\FilamentShield\FilamentShieldPlugin::make()
]);
}

return $panel;
Expand Down

0 comments on commit aff71c7

Please sign in to comment.