webapp: Fix bug that caused the webapp to hang when built with yesod 1.2.

This commit is contained in:
Joey Hess 2013-06-27 00:01:31 -04:00
parent 1e1f595d80
commit b44c978e2c
4 changed files with 5 additions and 5 deletions

View file

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