mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update AppServiceProvider
This commit is contained in:
parent
db22469f06
commit
955593101b
1 changed files with 6 additions and 2 deletions
|
@ -2,8 +2,11 @@
|
|||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Observers\UserObserver;
|
||||
use App\User;
|
||||
use App\Observers\{
|
||||
AvatarObserver,
|
||||
UserObserver
|
||||
};
|
||||
use App\{Avatar,User};
|
||||
use Auth, Horizon, URL;
|
||||
use Illuminate\Support\Facades\Blade;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
@ -20,6 +23,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
{
|
||||
Schema::defaultStringLength(191);
|
||||
|
||||
Avatar::observe(AvatarObserver::class);
|
||||
User::observe(UserObserver::class);
|
||||
|
||||
Horizon::auth(function ($request) {
|
||||
|
|
Loading…
Reference in a new issue