webapp: Fix bug that caused the webapp to hang when built with yesod 1.2.
This commit is contained in:
parent
1e1f595d80
commit
b44c978e2c
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue