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