diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index fa82b72..d52268f 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,7 +2,7 @@ namespace App\Providers; -use App\Services\ModelFinder; +use App\Services\MorphModelFinder; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider @@ -14,7 +14,7 @@ class AppServiceProvider extends ServiceProvider */ public function boot() { - app(ModelFinder::class)->map(); + app(MorphModelFinder::class)->map(); } /**