Forráskód Böngészése

Update Story model, hide json attribute by default

Daniel Supernault 5 éve
szülő
commit
de89403c41
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      app/Story.php

+ 2 - 0
app/Story.php

@@ -30,6 +30,8 @@ class Story extends Model
 
 
 	protected $visible = ['id'];
 	protected $visible = ['id'];
 
 
+	protected $hidden = ['json'];
+
 	public function profile()
 	public function profile()
 	{
 	{
 		return $this->belongsTo(Profile::class);
 		return $this->belongsTo(Profile::class);