Copyright | (c) Michael Mounteney, 2021 |
---|---|
License | BSD 3 clause |
Maintainer | the project name, all lower case, at landcroft dot com |
Stability | experimental |
Portability | undefined |
Safe Haskell | None |
Language | Haskell2010 |
Authorisation checks before going on to present the next review item.
- getHomeR :: Handler Html
- getReviewR :: Text -> Handler Html
Documentation
getHomeR :: Handler Html Source #
Try to extract the login user name from the session; if present, verify that it's logged-in.
getReviewR :: Text -> Handler Html Source #
break up deck string into components; add state singleton; add logged-in user; review
Show next item for review, for the logged-in user.