Ver Fonte

实现 public function show

visuddhinanda há 3 anos atrás
pai
commit
0b9955fdcc
1 ficheiros alterados com 1 adições e 0 exclusões
  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));
     }