Skip to content

Commit

Permalink
Merge pull request #14673 from filamentphp/improve-import-export-coun…
Browse files Browse the repository at this point in the history
…ting-reliability
  • Loading branch information
danharrin committed Oct 31, 2024
1 parent 5e9a946 commit 076f536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs/09-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ public function panel(Panel $panel): Panel
}
```

Before these [assets](../support/assets) can be used, you'll need to run `php artisan filament:assets`.

## Applying middleware

You can apply extra middleware to all routes by passing an array of middleware classes to the `middleware()` method in the configuration:
Expand Down
7 changes: 0 additions & 7 deletions src/FilamentServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ public function packageBooted(): void
$file->getRealPath() => base_path("stubs/filament/{$file->getFilename()}"),
], 'filament-stubs');
}

if (method_exists($this, 'optimizes')) {
$this->optimizes(
optimize: 'filament:optimize', /** @phpstan-ignore-line */
clear: 'filament:optimize-clear', /** @phpstan-ignore-line */
);
}
}
}

Expand Down

0 comments on commit 076f536

Please sign in to comment.