From 62b063ee63892a70359d80c91f733678801b3cd8 Mon Sep 17 00:00:00 2001 From: Miguel N Date: Thu, 23 Jul 2020 02:37:08 +0100 Subject: [PATCH] Missed variable name --- app/Http/Controllers/VacancyController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/VacancyController.php b/app/Http/Controllers/VacancyController.php index 89eacce..4e1f048 100644 --- a/app/Http/Controllers/VacancyController.php +++ b/app/Http/Controllers/VacancyController.php @@ -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); }