24 lines
484 B
PHP
24 lines
484 B
PHP
<?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,
|
|
]);
|
|
}
|
|
}
|