Version 1.0.0
This commit is contained in:
36
app/Providers/AppServiceProvider.php
Normal file
36
app/Providers/AppServiceProvider.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Filament\Facades\Filament;
|
||||
use Filament\Navigation\NavigationGroup;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
Filament::serving(function () {
|
||||
Filament::registerNavigationGroups([
|
||||
'Treści',
|
||||
'Ogłoszenia',
|
||||
'Pilotaż "Dobry posiłek"',
|
||||
'Projekty',
|
||||
'Ogólne',
|
||||
'Pozostałe',
|
||||
'Ustawienia',
|
||||
]);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user