rename model in singular

This commit is contained in:
2026-03-13 15:30:54 +01:00
parent 928d504b27
commit 922b4df8b5
21 changed files with 42 additions and 47 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
namespace App\Providers;
use App\Models\Events;
use App\Models\Event;
use App\Models\User;
use App\Observers\EventObserver;
use App\Observers\UserObserver;
@@ -30,6 +30,6 @@ class AppServiceProvider extends ServiceProvider
Route::middleware('web')->prefix('api')->group(base_path('routes/notifications.php'));
Route::middleware('web')->prefix('api')->group(base_path('routes/channels.php'));
User::observe(UserObserver::class);
Events::observe(EventObserver::class);
Event::observe(EventObserver::class);
}
}