on second thought, the session cookie is still useful to support setMessage

This commit is contained in:
Joey Hess 2012-07-26 12:41:20 -04:00
parent 3c117685eb
commit 95f4b192f0
2 changed files with 15 additions and 3 deletions

View file

@ -60,8 +60,7 @@ instance Yesod WebApp where
excludeStatic [] = True
excludeStatic (p:_) = p /= "static"
{- Sessions are overkill for a local webapp with 1 user. -}
makeSessionBackend _ = return Nothing
makeSessionBackend = webAppSessionBackend
getHomeR :: Handler RepHtml
getHomeR = defaultLayout $ do