summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-02 21:02:28 -0400
committerMichael <[email protected]>2017-05-02 21:02:28 -0400
commitc63d62925ba265bae178a1db28dd451527cedb21 (patch)
treefbafb940ceafabc02473220c6829eca84b8ce375
parent737a18b592d757449548c9b4cf179b7a1fe8e1b9 (diff)
downloadproject-unite-c63d62925ba265bae178a1db28dd451527cedb21.tar.gz
project-unite-c63d62925ba265bae178a1db28dd451527cedb21.tar.bz2
project-unite-c63d62925ba265bae178a1db28dd451527cedb21.zip
make id nullable
-rw-r--r--Project-Unite/Controllers/StatsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project-Unite/Controllers/StatsController.cs b/Project-Unite/Controllers/StatsController.cs
index cce3da3..6a16282 100644
--- a/Project-Unite/Controllers/StatsController.cs
+++ b/Project-Unite/Controllers/StatsController.cs
@@ -43,7 +43,7 @@ namespace Project_Unite.Controllers
return View(model);
}
- public ActionResult Codepoints(int id)
+ public ActionResult Codepoints(int id = 1)
{
var db = new ApplicationDbContext();
var highscores = new List<PongHighscore>();