This commit is contained in:
R
2022-11-22 11:59:06 +07:00
parent 05ae09ab4c
commit b6d5330838
4 changed files with 83 additions and 33 deletions

View File

@@ -53,8 +53,8 @@ Route::prefix('linksehat')->group(function () {
Route::controller(DoctorController::class)->group(function () {
Route::get('doctors/online', 'index')->name('doctors.online');
Route::get('doctors', 'index')->name('doctors.index');
Route::get('doctors/{id}', 'show')->name('doctors.show');
Route::post('doctors/{id}/schedule', 'schedule')->name('doctors.schedule');
Route::get('doctors/{id}', 'show')->name('doctors.show');
});