Преглед на файлове

Update ModLog model, add fillable attribute

Daniel Supernault преди 5 години
родител
ревизия
c7ccb26ffc
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/ModLog.php

+ 2 - 0
app/ModLog.php

@@ -8,6 +8,8 @@ class ModLog extends Model
 {
 	protected $visible = ['id'];
 
+	protected $fillable = ['*'];
+
 	public function admin()
 	{
 		return $this->belongsTo(User::class, 'user_id');