mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
Ajout des news & pictures & complementary activity
This commit is contained in:
@@ -10,4 +10,9 @@ class News extends Model
|
||||
{
|
||||
return $this->belongsTo('App\User');
|
||||
}
|
||||
|
||||
public function pictures()
|
||||
{
|
||||
return $this->morphMany('App\Picture', 'pictureable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user