From 8a38fb27afa023f62af0c7fcd56c2e2f7b31c79d Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Mon, 25 Nov 2019 22:45:43 +0100 Subject: [PATCH] HowTo accessible even if not authorized --- Foundation.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Foundation.hs b/Foundation.hs index d284515..eef32b7 100644 --- a/Foundation.hs +++ b/Foundation.hs @@ -168,6 +168,7 @@ instance Yesod App where isAuthorized DashboardR _ = return Authorized isAuthorized (ShowChallengeR _) _ = return Authorized + isAuthorized (ChallengeHowToR _) _ = return Authorized isAuthorized (ChallengeReadmeR _) _ = return Authorized isAuthorized (ChallengeAllSubmissionsR _) _ = return Authorized isAuthorized (ChallengeGraphDataR _) _ = return Authorized