Skip to content

Commit 6a480d2

Browse files
authored
Merge pull request #1 from devaslanphp/dev
Put CustomUserAvatar class in Helpers instead of Core
2 parents 04f3836 + 949d1f1 commit 6a480d2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Core;
3+
namespace App\Helpers;
44

55
use Devaslanphp\FilamentAvatar\Core\UiAvatarsProvider;
66
use Illuminate\Database\Eloquent\Model;

config/filament-avatar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
// Custom avatar (user's picture field)
6464
'custom-avatar' => [
6565
// Class used to generate the user avatar
66-
'class' => \App\Core\CustomUserAvatar::class,
66+
'class' => \App\Helpers\CustomUserAvatar::class,
6767

6868
// User's field used to generate avatar
6969
'name_field' => 'picture'

0 commit comments

Comments
 (0)