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/modals/register.blade.php b/resources/views/modals/register.blade.php index 882ba3d..32e2c53 100644 --- a/resources/views/modals/register.blade.php +++ b/resources/views/modals/register.blade.php @@ -9,21 +9,6 @@ - @@ -38,23 +23,10 @@ ->>>>>>> 142d287bd2121b81beccd97aa148f5aa0284ee0c -<<<<<<< HEAD - -<<<<<<< HEAD - - -======= -<<<<<<< HEAD - - - -======= 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 страница - Выход + }); // Личный кабинет работодателя