Parcourir la source

Update Notification model

Daniel Supernault il y a 6 ans
Parent
commit
da68aa1c26
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/Notification.php

+ 2 - 0
app/Notification.php

@@ -16,6 +16,8 @@ class Notification extends Model
      */
     protected $dates = ['deleted_at'];
 
+    protected $fillable = ['*'];
+
     public function actor()
     {
         return $this->belongsTo(Profile::class, 'actor_id', 'id');