Files
LarsandCursor d6ff881e4e
Deploy Test / test (push) Successful in 18s
Deploy Test / deploy (push) Successful in 22s
Mache die Inhaltsverwaltung fuer die Redaktion bedienbar
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-16 08:59:30 +01:00

35 lines
897 B
PHP

<?php
namespace App\Filament\Resources\Exercises;
use App\Domain\Catalog\CompositionKind;
use App\Filament\Resources\Compositions\CompositionKindResource;
use App\Filament\Resources\Exercises\Pages\EditExercise;
use App\Filament\Resources\Exercises\Pages\ListExercises;
class ExerciseResource extends CompositionKindResource
{
protected static ?string $slug = 'uebungen';
protected static ?string $navigationLabel = 'Module';
protected static ?string $modelLabel = 'Modul';
protected static ?string $pluralModelLabel = 'Module';
protected static ?int $navigationSort = 3;
public static function kind(): CompositionKind
{
return CompositionKind::Uebung;
}
public static function getPages(): array
{
return [
'index' => ListExercises::route('/'),
'edit' => EditExercise::route('/{record}'),
];
}
}