Преглед изворни кода

Update Activity model, add fillable attribute

Daniel Supernault пре 5 година
родитељ
комит
ef575ed483
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      app/Activity.php

+ 1 - 0
app/Activity.php

@@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
 class Activity extends Model
 {
     protected $dates = ['processed_at'];
+    protected $fillable = ['*'];
 
 	public function toProfile()
 	{