Commit 674b6d78a57588a6c0deb5fd1045154d9143f6fa

Authored by Hayk Nazaryan
1 parent ebedc59367
Exists in master

not active employer redirect fix

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

app/Http/Controllers/EmployerController.php
... ... @@ -190,7 +190,8 @@ class EmployerController extends Controller
190 190 return view('employers.add_vacancy', compact('Employer', 'jobs', 'categories'));
191 191 }
192 192  
193   - return redirect()->route('employer.cabinet_vacancie_danger');
  193 + return redirect()->route('page', ['pages' => "Usloviya-razmescheniya"]);
  194 +// return redirect()->route('employer.cabinet_vacancie_danger');
194 195 }
195 196  
196 197 // Форма предупреждения об оплате
resources/views/employers/menu.blade.php
... ... @@ -36,7 +36,7 @@
36 36 <span>Разместить вакансию</span>
37 37 </a>
38 38 @else
39   - <a href="{{ route('employer.cabinet_vacancie_danger') }}" class="cabinet__menu-item @if ($item==2) active @endif">
  39 + <a href="{{ route('page', ['pages' => "Usloviya-razmescheniya"]) }}" class="cabinet__menu-item @if ($item==2) active @endif">
40 40 <i>
41 41 <svg>
42 42 <use xlink:href="{{ asset('images/sprite.svg#cabinet-2') }}"></use>