From 280149b125e3c221e74fdf176daee874be39e7b0 Mon Sep 17 00:00:00 2001 From: Mohamed Jinas Date: Mon, 10 Aug 2020 05:22:35 +0500 Subject: [PATCH] Update Article.php --- app/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Article.php b/app/Article.php index 03ed312..296b755 100644 --- a/app/Article.php +++ b/app/Article.php @@ -39,6 +39,6 @@ class Article extends Model public function topics() { - return $this->belongsToMany(Topic::class); + return $this->belongsToMany(Topic::class)->withTimestamps(); } }