Роли, переделывание отчета, изменение на главной странице
This commit is contained in:
@@ -21,9 +21,17 @@ Route::prefix('api')->group(function () {
|
||||
Route::get('/dashboard', [\App\Http\Controllers\Web\IndexController::class, 'index'])
|
||||
->middleware(['auth'])
|
||||
->name('dashboard');
|
||||
Route::get('/report', [\App\Http\Controllers\Web\ReportController::class, 'index'])
|
||||
->middleware(['auth'])
|
||||
->name('report');
|
||||
Route::get('/statistic', [\App\Http\Controllers\Web\StatisticController::class, 'index'])
|
||||
->middleware(['auth'])
|
||||
->name('statistic');
|
||||
Route::get('/path/patient', function () {
|
||||
return \Inertia\Inertia::render('Path/Patient');
|
||||
})
|
||||
->middleware(['auth'])
|
||||
->name('path.patient');
|
||||
|
||||
Route::get('/', [\App\Http\Controllers\Web\IndexController::class, 'start'])
|
||||
->middleware(['auth'])
|
||||
|
||||
Reference in New Issue
Block a user