diff --git a/app/Filament/Resources/CarShowCategoryResource.php b/app/Filament/Resources/CarShowCategoryResource.php index 6efe41b..6f8cd8e 100644 --- a/app/Filament/Resources/CarShowCategoryResource.php +++ b/app/Filament/Resources/CarShowCategoryResource.php @@ -38,17 +38,25 @@ class CarShowCategoryResource extends Resource ]) ->actions([ Tables\Actions\EditAction::make(), - Tables\Actions\DeleteAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } + public static function getRelations(): array + { + return [ + // + ]; + } + public static function getPages(): array { return [ - 'index' => Pages\ManageCarShowCategories::route('/'), + 'index' => Pages\ListCarShowCategories::route('/'), + 'create' => Pages\CreateCarShowCategory::route('/create'), + 'edit' => Pages\EditCarShowCategory::route('/{record}/edit'), ]; } } diff --git a/app/Filament/Resources/CarShowCategoryResource/Pages/CreateCarShowCategory.php b/app/Filament/Resources/CarShowCategoryResource/Pages/CreateCarShowCategory.php new file mode 100644 index 0000000..36bc851 --- /dev/null +++ b/app/Filament/Resources/CarShowCategoryResource/Pages/CreateCarShowCategory.php @@ -0,0 +1,12 @@ +