mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
api remove page title etc
This commit is contained in:
@@ -32,9 +32,9 @@ class CommentController extends Controller
|
||||
->where('torrent', $torrentId)
|
||||
->paginate();
|
||||
$resource = CommentResource::collection($comments);
|
||||
$resource->additional([
|
||||
'page_title' => nexus_trans('comment.index.page_title'),
|
||||
]);
|
||||
// $resource->additional([
|
||||
// 'page_title' => nexus_trans('comment.index.page_title'),
|
||||
// ]);
|
||||
|
||||
return $this->success($resource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user