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
instance ToMarkup (Route App) where
toMarkup c = case c of
AllSnapshotsR{} -> "Snapshots"
UploadStackageR{} -> "Upload"
AuthR (LoginR{}) -> "Login"
toMarkup c =
case c of
AllSnapshotsR{} -> "Snapshots"
UploadStackageR{} -> "Upload"
AuthR (LoginR{}) -> "Login"
_ -> ""
-- How to run database actions.
instance YesodPersist App where