From 0ab7d706126c66faacf02b9dee0374e8b2e3c95b Mon Sep 17 00:00:00 2001 From: Matt Young Date: Thu, 31 Oct 2024 07:07:32 -0500 Subject: [PATCH] Add TODO issue reminder --- app/Http/Controllers/Tabulation/ScoreController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/Tabulation/ScoreController.php b/app/Http/Controllers/Tabulation/ScoreController.php index e714a9f..dcf53be 100644 --- a/app/Http/Controllers/Tabulation/ScoreController.php +++ b/app/Http/Controllers/Tabulation/ScoreController.php @@ -29,6 +29,7 @@ class ScoreController extends Controller } $score->delete(); + // TODO clear scoring cache when a score is deleted return redirect()->back()->with('success', 'Score Deleted'); } @@ -105,6 +106,7 @@ class ScoreController extends Controller ['subscores' => $sheet['scores']] ); } + // TODO rewrite to use EnterScore action or clear score cache return redirect()->route('scores.chooseEntry')->with('success', count($preparedScoreSheets).' Scores saved'); }