From: Brendan Hansen Date: Fri, 15 Nov 2019 20:00:16 +0000 (-0600) Subject: Fixed the small bug fix X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=f7292f96fc81fc7ed84cb6adef090b2c2d2e71de;p=codebox.git Fixed the small bug fix --- diff --git a/codebox/controllers/submission/list.moon b/codebox/controllers/submission/list.moon index 5ba1928..c046eb2 100644 --- a/codebox/controllers/submission/list.moon +++ b/codebox/controllers/submission/list.moon @@ -5,7 +5,7 @@ import capture_errors, yield_error from require 'lapis.application' import Competitions, Problems from require 'models' make_controller - middleware: { 'logged_in', 'competition_started', 'joined_competition', 'competition_active' } + middleware: { 'logged_in', 'joined_competition', 'competition_active', 'competition_started' } scripts: { 'pie_chart' } get: =>