3 namespace App\Http\Controllers;
5 use App\Models\Technique;
6 use Illuminate\Http\Request;
8 class TechniqueController extends Controller
11 public function single(Request $request, Technique $tech) {
12 $this->authorize('view', $tech);
13 $tech->load('chapters');
14 return $tech->toJson();