fradrive/src/Handler/Submission/Show.hs
2022-10-12 09:35:16 +02:00

17 lines
473 B
Haskell

-- SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later
module Handler.Submission.Show
( getSubShowR, postSubShowR
) where
import Import
import Handler.Submission.Helper
getSubShowR, postSubShowR :: TermId -> SchoolId -> CourseShorthand -> SheetName -> CryptoFileNameSubmission -> Handler Html
getSubShowR = postSubShowR
postSubShowR tid ssh csh shn cid = submissionHelper tid ssh csh shn $ Just cid