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
|
||||
mapM_ pauseTransfer ts
|
||||
page "Shutdown" Nothing $ do
|
||||
webapp <- getYesod
|
||||
webapp <- liftH getYesod
|
||||
let url = T.unpack $ yesodRender webapp (T.pack "") NotRunningR []
|
||||
{- Signal any other web browsers. -}
|
||||
liftAssistant $ do
|
||||
|
|
Loading…
Reference in a new issue