Add TODO issue reminder
This commit is contained in:
parent
e539d71d5f
commit
0ab7d70612
|
|
@ -29,6 +29,7 @@ class ScoreController extends Controller
|
||||||
}
|
}
|
||||||
$score->delete();
|
$score->delete();
|
||||||
|
|
||||||
|
// TODO clear scoring cache when a score is deleted
|
||||||
return redirect()->back()->with('success', 'Score Deleted');
|
return redirect()->back()->with('success', 'Score Deleted');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -105,6 +106,7 @@ class ScoreController extends Controller
|
||||||
['subscores' => $sheet['scores']]
|
['subscores' => $sheet['scores']]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
// TODO rewrite to use EnterScore action or clear score cache
|
||||||
|
|
||||||
return redirect()->route('scores.chooseEntry')->with('success', count($preparedScoreSheets).' Scores saved');
|
return redirect()->route('scores.chooseEntry')->with('success', count($preparedScoreSheets).' Scores saved');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue