Vacancy tweaks

This commit is contained in:
Miguel Nogueira 2020-09-03 02:52:21 +01:00
parent de3dba3627
commit 8e85e08171
1 changed files with 2 additions and 2 deletions

View File

@ -113,9 +113,9 @@ class VacancyController extends Controller
public function edit(Request $request, Vacancy $vacancy) public function edit(Request $request, Vacancy $vacancy)
{ {
$this->authorize('update', $position); $this->authorize('update', $vacancy);
return view('dashboard.administration.editposition') return view('dashboard.administration.editposition')
->with('vacancy', $position); ->with('vacancy', $vacancy);
} }