Clean the template

master
rnhmjoj 2015-04-08 13:55:36 +02:00
parent 65c5884c7f
commit 90afb6593b
1 changed files with 2 additions and 4 deletions

View File

@ -5,12 +5,10 @@ import Control.Applicative
import Web.Simple
import Web.Simple.Templates
data AppSettings = AppSettings { }
data AppSettings = AppSettings { }
newAppSettings :: IO AppSettings
newAppSettings = do
return $ AppSettings
newAppSettings = return AppSettings
instance HasTemplates IO AppSettings where
defaultLayout = Just <$> getTemplate "layouts/main.html"