Remove incomplete pattern

This commit is contained in:
Chris Done 2014-12-15 14:44:12 +01:00
parent 673a176b93
commit 6ac46c12b7

View File

@ -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