SSR Switch
This commit is contained in:
@@ -28,7 +28,7 @@ class ArticleResource extends JsonResource
|
||||
"readtime" => (new ReadTime($this->body))->get(),
|
||||
"source" => new SourceResource($this->source),
|
||||
"topics" => TopicResource::collection($this->topics),
|
||||
"link" => url(route('article.show',$this->id)),
|
||||
"link" => url(route('api.article.show',$this->id)),
|
||||
"published_date" => $this->published_date
|
||||
|
||||
];
|
||||
|
Reference in New Issue
Block a user