clean up build warnings with yesod 1.2, while still building with 1.1

This commit is contained in:
Joey Hess 2013-06-27 01:15:28 -04:00
parent b44c978e2c
commit ff4f008591
23 changed files with 149 additions and 137 deletions

View file

@ -84,9 +84,9 @@ storePrefs p = do
then enableDebugOutput
else disableDebugOutput
getPreferencesR :: Handler RepHtml
getPreferencesR :: Handler Html
getPreferencesR = postPreferencesR
postPreferencesR :: Handler RepHtml
postPreferencesR :: Handler Html
postPreferencesR = page "Preferences" (Just Configuration) $ do
((result, form), enctype) <- liftH $ do
current <- liftAnnex getPrefs