Update Article.php
This commit is contained in:
@@ -39,6 +39,6 @@ class Article extends Model
|
|||||||
|
|
||||||
public function topics()
|
public function topics()
|
||||||
{
|
{
|
||||||
return $this->belongsToMany(Topic::class);
|
return $this->belongsToMany(Topic::class)->withTimestamps();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user