Neuigkeiten/News/Blog-Editing und Bugfixes

This commit is contained in:
2026-03-26 01:16:56 +01:00
parent b0d7b97c46
commit 351c73778a
10 changed files with 300 additions and 44 deletions

View File

@@ -9,5 +9,8 @@ class Blog extends Model
//
protected $table = 'blogs';
public function byUser(): \Illuminate\Database\Eloquent\Relations\BelongsTo
{
return $this->belongsTo('App\Models\User', 'published_by', 'id');
}
}