From af96d193a43e1ed19edc6282be817530a5e34295 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Thu, 3 Sep 2020 00:11:49 +0100 Subject: [PATCH] Missing login button translation --- app/Http/Controllers/AppointmentController.php | 2 +- app/Http/Controllers/VoteController.php | 2 +- resources/views/auth/login.blade.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/AppointmentController.php b/app/Http/Controllers/AppointmentController.php index ad07012..da98122 100644 --- a/app/Http/Controllers/AppointmentController.php +++ b/app/Http/Controllers/AppointmentController.php @@ -72,7 +72,7 @@ class AppointmentController extends Controller } // also updates - public function saveNotes(SaveNotesRequest $request, $application) + public function saveNotes(SaveNotesRequest $request, Application $application) { if (!is_null($application)) { diff --git a/app/Http/Controllers/VoteController.php b/app/Http/Controllers/VoteController.php index 8674dcf..eba3ae1 100644 --- a/app/Http/Controllers/VoteController.php +++ b/app/Http/Controllers/VoteController.php @@ -21,7 +21,7 @@ class VoteController extends Controller 'userID' => Auth::user()->id, 'allowedVoteType' => $voteRequest->voteType, ]); - $vote->application()->attach($applicationID); + $vote->application()->attach($application->id); Log::info('User ' . Auth::user()->name . ' has voted in applicant ' . $application->user->name . '\'s application', [ diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index ec69b70..2b31cf0 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -28,7 +28,7 @@ - + {{__('messages.forgot_pw')}}