Skip to content

Commit

Permalink
added back filament logs (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjustesen authored Nov 26, 2022
1 parent 4390cf9 commit 7a52ba0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/Providers/FilamentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

namespace App\Providers;

use App\Models\User;
use Filament\Facades\Filament;
use Filament\Navigation\NavigationItem;
use Illuminate\Support\ServiceProvider;
use RyanChandler\FilamentLog\Logs;

class FilamentServiceProvider extends ServiceProvider
{
Expand All @@ -25,6 +27,10 @@ public function register()
*/
public function boot()
{
Logs::can(function (User $user) {
return true;
});

Filament::serving(function () {
Filament::registerNavigationGroups([
'Settings',
Expand Down

0 comments on commit 7a52ba0

Please sign in to comment.