eidolon/Handler/Home.hs
2014-08-17 22:59:55 +02:00

10 lines
234 B
Haskell

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