Browse Source

实现 public function show

visuddhinanda 2 years ago
parent
commit
0b9955fdcc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/SentenceController.php

+ 1 - 0
app/Http/Controllers/SentenceController.php

@@ -263,6 +263,7 @@ class SentenceController extends Controller
     public function show(Sentence $sentence)
     {
         //
+        return $this->ok(new SentResource($sentence));
     }