]> git.localhorst.tv Git - alttp.git/blob - app/Http/Controllers/TechniqueController.php
97a45f047a9bb6d5635480111afd9206690a4102
[alttp.git] / app / Http / Controllers / TechniqueController.php
1 <?php
2
3 namespace App\Http\Controllers;
4
5 use App\Models\Technique;
6 use Illuminate\Http\Request;
7
8 class TechniqueController extends Controller
9 {
10
11         public function single(Request $request, Technique $tech) {
12                 $this->authorize('view', $tech);
13                 return $tech->toJson();
14         }
15
16 }