SSR Switch
This commit is contained in:
@@ -18,7 +18,7 @@ class TopicResource extends JsonResource
|
||||
"id" => $this->id,
|
||||
"name" => $this->name,
|
||||
"slug" => $this->slug,
|
||||
"link" => url(route('topics.show', $this->slug))
|
||||
"link" => url(route('api.topics.show', $this->slug))
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user