Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Oct 23, 2023
1 parent 69bcc7a commit aefb674
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions app/Filament/Resources/VolunteerResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ public static function table(Table $table): Table
])->defaultSort('id', 'desc');
}

public static function getRelations(): array
{
return [
//
];
}

public static function getPages(): array
{
return [
Expand Down Expand Up @@ -183,7 +176,7 @@ private static function getProjectLink(VolunteerRequest $record): HtmlString
return new HtmlString('General');
}

private static function getOrganizationLink(VolunteerRequest $record)
private static function getOrganizationLink(VolunteerRequest $record): HtmlString
{
if ($record->model_type === 'App\Models\Organization') {
$url = route('filament.resources.organizations.view', $record->model->id);
Expand Down

0 comments on commit aefb674

Please sign in to comment.