]> git.localhorst.tv Git - alttp.git/blobdiff - app/Http/Controllers/TechniqueController.php
technique chapters
[alttp.git] / app / Http / Controllers / TechniqueController.php
index 97a45f047a9bb6d5635480111afd9206690a4102..cce39cea34f5e628218393d6d5ab04a01b853490 100644 (file)
@@ -10,6 +10,7 @@ class TechniqueController extends Controller
 
        public function single(Request $request, Technique $tech) {
                $this->authorize('view', $tech);
+               $tech->load('chapters');
                return $tech->toJson();
        }