minor fixes

This commit is contained in:
Doar Mihai
2026-05-30 17:18:19 +03:00
parent 5a14dccdc0
commit 17a2211952
7 changed files with 20 additions and 28 deletions
+2
View File
@@ -11,6 +11,8 @@ class UserList extends Model
{
protected $fillable = ['user_id', 'title', 'slug', 'description', 'is_public'];
public function getRouteKeyName(): string { return 'slug'; }
protected $casts = ['is_public' => 'boolean'];
protected static function boot(): void