diff options
Diffstat (limited to 'Handler/Home.hs')
-rw-r--r-- | Handler/Home.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Handler/Home.hs b/Handler/Home.hs new file mode 100644 index 0000000..6f5237b --- /dev/null +++ b/Handler/Home.hs @@ -0,0 +1,18 @@ +{-# LANGUAGE TupleSections, OverloadedStrings #-} +module Handler.Home where + +import Import + +getHomeR :: Handler RepHtml +getHomeR = do + defaultLayout $ do + aDomId <- lift newIdent + setTitle "PFIF Contractor Portal" + $(widgetFile "homepage") + +postHomeR :: Handler RepHtml +postHomeR = do + defaultLayout $ do + aDomId <- lift newIdent + setTitle "PFIF Contractor Portal" + $(widgetFile "homepage") |