aboutsummaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-27 00:01:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-27 00:01:31 -0400
commit8936ea18708940e167ff383731fad5e863b16000 (patch)
tree9948d5f1a91d1854e7364d3052b11ee55220da3b /Utility/Yesod.hs
parentc4b714b7070ce472fd56ab5d786719e72c46ac71 (diff)
webapp: Fix bug that caused the webapp to hang when built with yesod 1.2.
Diffstat (limited to 'Utility/Yesod.hs')
-rw-r--r--Utility/Yesod.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Yesod.hs b/Utility/Yesod.hs
index e437326b0..cb5c68c82 100644
--- a/Utility/Yesod.hs
+++ b/Utility/Yesod.hs
@@ -42,7 +42,7 @@ hamletTemplate f = globFile "hamlet" f
{- Lift Handler to Widget -}
#if MIN_VERSION_yesod(1,2,0)
liftH :: Monad m => HandlerT site m a -> WidgetT site m a
-liftH = liftH
+liftH = handlerToWidget
#else
liftH :: MonadLift base m => base a -> m a
liftH = lift