lifyH getYesod, to work with older version

This commit is contained in:
Joey Hess 2013-11-25 12:54:59 -04:00
parent 46ee2ea2e6
commit 7dc02b0c91

View file

@ -39,7 +39,7 @@ getShutdownConfirmedR = do
ts <- M.keys . currentTransfers <$> getDaemonStatus ts <- M.keys . currentTransfers <$> getDaemonStatus
mapM_ pauseTransfer ts mapM_ pauseTransfer ts
page "Shutdown" Nothing $ do page "Shutdown" Nothing $ do
webapp <- getYesod webapp <- liftH getYesod
let url = T.unpack $ yesodRender webapp (T.pack "") NotRunningR [] let url = T.unpack $ yesodRender webapp (T.pack "") NotRunningR []
{- Signal any other web browsers. -} {- Signal any other web browsers. -}
liftAssistant $ do liftAssistant $ do