diff --git a/app/Http/Controllers/WorkerController.php b/app/Http/Controllers/WorkerController.php index 6aeafc2..5efe100 100644 --- a/app/Http/Controllers/WorkerController.php +++ b/app/Http/Controllers/WorkerController.php @@ -117,7 +117,7 @@ class WorkerController extends Controller // Избранный public function favorite() { - + dd('dgfghfghfgh'); return view('workers.favorite'); } @@ -199,5 +199,10 @@ class WorkerController extends Controller ]); dd($Code_user); } + + public function colorado() { + return view('workers.favorite'); + + } } diff --git a/resources/views/workers/menu.blade.php b/resources/views/workers/menu.blade.php index 6d3369a..72c0e89 100644 --- a/resources/views/workers/menu.blade.php +++ b/resources/views/workers/menu.blade.php @@ -33,7 +33,7 @@ Сообщения - + diff --git a/routes/web.php b/routes/web.php index 43d5fcf..97a747f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -435,9 +435,7 @@ Route::get('login', [MainController::class, 'input_login'])->name('login'); // Выход из кабинета Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); -// Регистрация соискателя -Route::get('register-worker', [WorkerController::class, 'register_worker'])->name('register_worker'); - +Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); // Личный кабинет работника Route::group([ @@ -454,14 +452,16 @@ Route::group([ // 3 страница - Избранные вакансии Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); + Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); // 4 страница - Сменить пароль - Route::get('cabinet/new_password', [WorkerController::class, 'new_password'])->name('new_password'); + Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password'); // 5 страница - Удалить профиль - Route::get('cabinet/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); + Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); // 6 страница - Выход + }); // Личный кабинет работодателя