Changed to topic link
This commit is contained in:
@@ -17,7 +17,7 @@ class TopicResource extends JsonResource
|
||||
return [
|
||||
"name" => $this->name,
|
||||
"slug" => $this->slug,
|
||||
"url" => url(route('topics.show', $this->slug))
|
||||
"link" => url(route('topics.show', $this->slug))
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user