eidolon/Handler/Home.hs

15 lines
306 B
Haskell
Raw Normal View History

2014-08-09 18:33:22 +00:00
{-# LANGUAGE TupleSections, OverloadedStrings #-}
module Handler.Home where
import Import
getHomeR :: Handler Html
getHomeR = do
recentMedia <- runDB $ selectList [] [Desc MediumTime]
2014-08-12 12:37:31 +00:00
defaultLayout $ do
$(widgetFile "home")
2014-08-09 18:33:22 +00:00
postHomeR :: Handler Html
postHomeR = do
2014-08-12 12:37:31 +00:00
error "not yet implemented"