lifyH getYesod, to work with older version
This commit is contained in:
parent
46ee2ea2e6
commit
7dc02b0c91
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue