group(function () { Route::get('/dashboard', function () { return view('dashboard'); })->name('dashboard'); Route::group(['prefix' => 'pacs', 'as' => 'pacs.'], function () { Route::get('sync', SyncOrthancController::class)->name('sync'); }); Route::group(['prefix' => 'radiologist', 'as' => 'radiologist.'], function () { Route::get('/report-write/{id}', ReportWriteController::class)->name('report-write'); }); Route::group(['prefix' => '/studies', 'as' => 'studies.'], function () { Route::get('/', [StudiesController::class, 'index'])->name('index'); Route::get('{hashid}/details', [StudiesController::class, 'details'])->name('details'); }); }); Route::group(['prefix' => 'shares', 'as' => 'shares.'], function () { Route::get('study/{hashid}', [ViewSharedStudyController::class, 'show'])->name('show'); Route::post('auth/{hashid}', [ViewSharedStudyController::class, 'auth'])->name('auth'); }); Route::view('/ck', 'ck');