eidolon/Handler/Home.hs
2014-09-24 23:03:18 +02:00

11 lines
265 B
Haskell

{-# LANGUAGE TupleSections, OverloadedStrings #-}
module Handler.Home where
import Import
getHomeR :: Handler Html
getHomeR = do
recentMedia <- runDB $ selectList [] [Desc MediumTime]
defaultLayout $ do
setTitle "Eidolon :: Home"
$(widgetFile "home")