diff options
author | Clint Adams <clint@softwarefreedom.org> | 2015-04-24 12:53:02 -0400 |
---|---|---|
committer | Clint Adams <clint@softwarefreedom.org> | 2015-04-24 12:53:02 -0400 |
commit | 62597317839c7945bfbc4b7a00f55d2db6459ab6 (patch) | |
tree | 6ad8c079d5eea66b05326d435e30cc2b1de43266 /Handler/Home.hs |
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") |