Improve makeSessionBackend documentation
This commit is contained in:
parent
a37beb3447
commit
32d5c3f5f1
@ -326,7 +326,7 @@ class RenderRoute a => Yesod a where
|
||||
yepnopeJs :: a -> Maybe (Either Text (Route a))
|
||||
yepnopeJs _ = Nothing
|
||||
|
||||
-- | Create a session backend
|
||||
-- | Create a session backend. Returning `Nothing' disables sessions.
|
||||
makeSessionBackend :: a -> IO (Maybe (SessionBackend a))
|
||||
makeSessionBackend a = do
|
||||
key <- encryptKey a
|
||||
|
||||
Loading…
Reference in New Issue
Block a user