Commit 1862e7a3a662fafdd48e193fafb2865f9242c894
1 parent
142d287bd2
Exists in
master
and in
1 other branch
Борьба против колорадских жуков и их ленты45.
Showing 3 changed files with 12 additions and 7 deletions Side-by-side Diff
app/Http/Controllers/WorkerController.php
... | ... | @@ -117,7 +117,7 @@ class WorkerController extends Controller |
117 | 117 | // Избранный |
118 | 118 | public function favorite() |
119 | 119 | { |
120 | - | |
120 | + dd('dgfghfghfgh'); | |
121 | 121 | return view('workers.favorite'); |
122 | 122 | } |
123 | 123 | |
... | ... | @@ -199,5 +199,10 @@ class WorkerController extends Controller |
199 | 199 | ]); |
200 | 200 | dd($Code_user); |
201 | 201 | } |
202 | + | |
203 | + public function colorado() { | |
204 | + return view('workers.favorite'); | |
205 | + | |
206 | + } | |
202 | 207 | } |
203 | 208 |
resources/views/workers/menu.blade.php
... | ... | @@ -33,7 +33,7 @@ |
33 | 33 | </i> |
34 | 34 | <span>Сообщения</span> |
35 | 35 | </a> |
36 | - <a href="{{ route('worker.favorite') }}" class="cabinet__menu-item @if ($item==3) active @endif"> | |
36 | + <a href="{{ route('worker.colorado') }}" class="cabinet__menu-item @if ($item==3) active @endif"> | |
37 | 37 | <i> |
38 | 38 | <svg> |
39 | 39 | <use xlink:href="{{ asset('images/sprite.svg#cabinet-6') }}"></use> |
routes/web.php
... | ... | @@ -435,9 +435,7 @@ Route::get('login', [MainController::class, 'input_login'])->name('login'); |
435 | 435 | // Выход из кабинета |
436 | 436 | Route::get('logout', [EmployerController::class, 'logout'])->name('logout'); |
437 | 437 | |
438 | -// Регистрация соискателя | |
439 | -Route::get('register-worker', [WorkerController::class, 'register_worker'])->name('register_worker'); | |
440 | - | |
438 | +Route::get( 'register_worker', [WorkerController::class, 'register_worker'])->name('register_worker'); | |
441 | 439 | |
442 | 440 | // Личный кабинет работника |
443 | 441 | Route::group([ |
... | ... | @@ -454,14 +452,16 @@ Route::group([ |
454 | 452 | |
455 | 453 | // 3 страница - Избранные вакансии |
456 | 454 | Route::get('cabinet/favorite', [WorkerController::class, 'favorite'])->name('favorite'); |
455 | + Route::get('кабинет/favorite', [WorkerController::class, 'colorado'])->name('colorado'); | |
457 | 456 | |
458 | 457 | // 4 страница - Сменить пароль |
459 | - Route::get('cabinet/new_password', [WorkerController::class, 'new_password'])->name('new_password'); | |
458 | + Route::get('кабинет/new_password', [WorkerController::class, 'new_password'])->name('new_password'); | |
460 | 459 | |
461 | 460 | // 5 страница - Удалить профиль |
462 | - Route::get('cabinet/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); | |
461 | + Route::get('кабинет/delete_profile', [WorkerController::class, 'delete_profile'])->name('delete_profile'); | |
463 | 462 | |
464 | 463 | // 6 страница - Выход |
464 | + | |
465 | 465 | }); |
466 | 466 | |
467 | 467 | // Личный кабинет работодателя |