Add navigationGroup to UrlLinkResource
This commit is contained in:
@@ -26,7 +26,7 @@ class PostResource extends JsonResource
|
||||
'authors' => $this->authors,
|
||||
'gallery' => $this->images,
|
||||
'reading_time' => $this->reading_time,
|
||||
'created_post' => $this->created_at->diffforhumans(),
|
||||
'created_post' => Carbon::parse($this->publish_at)->diffforhumans(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user