From 7e58c3af6b90d5f43bf3df1bc84b84b4c7cc2e61 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Thu, 3 Sep 2020 02:20:15 +0100 Subject: [PATCH] Add more missing translation strings Also fixed broken vacancy editor --- app/Http/Controllers/VacancyController.php | 8 ++++---- resources/views/dashboard/user/applications.blade.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/VacancyController.php b/app/Http/Controllers/VacancyController.php index 44db2c5..50c9e86 100644 --- a/app/Http/Controllers/VacancyController.php +++ b/app/Http/Controllers/VacancyController.php @@ -124,11 +124,11 @@ class VacancyController extends Controller { $this->authorize('update', $vacancy); - $position->vacancyFullDescription = $request->vacancyFullDescription; - $position->vacancyDescription = $request->vacancyDescription; - $position->vacancyCount = $request->vacancyCount; + $vacancy->vacancyFullDescription = $request->vacancyFullDescription; + $vacancy->vacancyDescription = $request->vacancyDescription; + $vacancy->vacancyCount = $request->vacancyCount; - $position->save(); + $vacancy->save(); $request->session()->flash('success', 'Vacancy successfully updated.'); return redirect()->back(); diff --git a/resources/views/dashboard/user/applications.blade.php b/resources/views/dashboard/user/applications.blade.php index 5c4cf4f..c13257f 100644 --- a/resources/views/dashboard/user/applications.blade.php +++ b/resources/views/dashboard/user/applications.blade.php @@ -130,7 +130,7 @@