complete Complete User Request Submission section RAD-1
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Client\Doctor;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Models\Document;
|
||||
use Illuminate\Http\Request;
|
||||
use Inertia\Inertia;
|
||||
|
||||
class DocumentController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return Inertia::client('Dashboard/Documents/Index');
|
||||
}
|
||||
|
||||
public function show(Document $document)
|
||||
{
|
||||
return Inertia::client('Dashboard/Documents/show', [
|
||||
'document' => $document,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user