mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-06 08:07:28 +01:00
Remove incomplete pattern
This commit is contained in:
parent
673a176b93
commit
6ac46c12b7
@ -155,10 +155,12 @@ instance Yesod App where
|
|||||||
maximumContentLength _ _ = Just 2000000
|
maximumContentLength _ _ = Just 2000000
|
||||||
|
|
||||||
instance ToMarkup (Route App) where
|
instance ToMarkup (Route App) where
|
||||||
toMarkup c = case c of
|
toMarkup c =
|
||||||
AllSnapshotsR{} -> "Snapshots"
|
case c of
|
||||||
UploadStackageR{} -> "Upload"
|
AllSnapshotsR{} -> "Snapshots"
|
||||||
AuthR (LoginR{}) -> "Login"
|
UploadStackageR{} -> "Upload"
|
||||||
|
AuthR (LoginR{}) -> "Login"
|
||||||
|
_ -> ""
|
||||||
|
|
||||||
-- How to run database actions.
|
-- How to run database actions.
|
||||||
instance YesodPersist App where
|
instance YesodPersist App where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user