Missed variable name

This commit is contained in:
Miguel Nogueira 2020-07-23 02:37:08 +01:00 committed by GitHub
parent 2c0c404d73
commit 62b063ee63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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