21 lines
419 B
PHP
21 lines
419 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
use Inertia\Inertia;
|
|
|
|
class AppointmentController extends Controller
|
|
{
|
|
public function index()
|
|
{
|
|
try{
|
|
return Inertia::render('Agenda');
|
|
}catch (\Exception $e) {
|
|
Log::error('Error fetching agenda: '.$e->getMessage(), [
|
|
'trace' => $e->getTraceAsString()
|
|
]);
|
|
}
|
|
}
|
|
}
|