Files

72 lines
1.3 KiB
Plaintext

<?php
namespace $CLASS_NAMESPACE$;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Inertia\Inertia;
use Inertia\Response;
class $CLASS$ extends Controller
{
/**
* Display a listing of the resource.
*/
public function index(): Response
{
return Inertia::render('$STUDLY_NAME$/Index');
}
/**
* Show the form for creating a new resource.
*/
public function create(): Response
{
return Inertia::render('$STUDLY_NAME$/Create');
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
//
}
/**
* Show the specified resource.
*/
public function show($id): Response
{
return Inertia::render('$STUDLY_NAME$/Show', [
//
]);
}
/**
* Show the form for editing the specified resource.
*/
public function edit($id): Response
{
return Inertia::render('$STUDLY_NAME$/Edit', [
//
]);
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, $id)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy($id)
{
//
}
}