From 0d45fc287b04851666b878de5261edc552e54b0e Mon Sep 17 00:00:00 2001 From: "B.Fatih KOZ" <74361521+FatihKoz@users.noreply.github.com> Date: Wed, 27 Jan 2021 00:31:54 +0300 Subject: [PATCH] AwardController text correction (#1010) Fixed the flash message texts --- app/Http/Controllers/Admin/AwardController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Admin/AwardController.php b/app/Http/Controllers/Admin/AwardController.php index aa7357c6..6f1085ed 100755 --- a/app/Http/Controllers/Admin/AwardController.php +++ b/app/Http/Controllers/Admin/AwardController.php @@ -186,13 +186,13 @@ class AwardController extends Controller { $award = $this->awardRepository->findWithoutFail($id); if (empty($award)) { - Flash::error('Fare not found'); + Flash::error('Award not found'); return redirect(route('admin.awards.index')); } $this->awardRepository->delete($id); - Flash::success('Fare deleted successfully.'); + Flash::success('Award deleted successfully.'); return redirect(route('admin.awards.index')); }