Ajout des news & pictures & complementary activity

This commit is contained in:
Mathieu Lagace
2019-08-04 14:26:14 -04:00
parent 47128ea6fc
commit 97a7be702e
61 changed files with 11617 additions and 466 deletions

View File

@@ -10,4 +10,9 @@ class News extends Model
{
return $this->belongsTo('App\User');
}
public function pictures()
{
return $this->morphMany('App\Picture', 'pictureable');
}
}