Webanwendung mit FastCGI und Haskell
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
388B

  1. module App.Private (
  2. Private(..)
  3. ) where
  4. import Control.Monad.State (gets)
  5. import Request
  6. import Template
  7. import Network.FastCGI
  8. import AppMonad (numVisited, App)
  9. import Database
  10. data Private = Private
  11. instance RequestHandler Private where
  12. requireLogin _ = True
  13. handle handler = do
  14. res <- render "private" [ ("pagetitle", "Geheimes Zeug") ]
  15. output res