From 1862e7a3a662fafdd48e193fafb2865f9242c894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Mon, 4 Mar 2024 19:38:19 +0700 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=BE=D1=80=D1=8C=D0=B1=D0=B0=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=82=D0=B8=D0=B2=20=D0=BA=D0=BE=D0=BB=D0=BE=D1=80=D0=B0=D0?= =?UTF-8?q?=B4=D1=81=D0=BA=D0=B8=D1=85=20=D0=B6=D1=83=D0=BA=D0=BE=D0=B2=20=D0?= =?UTF-8?q?=B8=20=D0=B8=D1=85=20=D0=BB=D0=B5=D0=BD=D1=82=D1=8B45.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/WorkerController.php | 7 ++++++- resources/views/workers/menu.blade.php | 2 +- routes/web.php | 10 +++++----- 3 files changed, 12 insertions(+), 7 deletions(-) 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 страница - Выход + }); // Личный кабинет работодателя -- 1.7.10.4