10 lines
234 B
Haskell
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")
|