diff options
Diffstat (limited to 'Routes.hs')
| -rw-r--r-- | Routes.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Routes.hs b/Routes.hs new file mode 100644 index 0000000..3dbb3aa --- /dev/null +++ b/Routes.hs @@ -0,0 +1,14 @@ +module Routes where + +import qualified Data.Text as T + +import Web.Response +import Web.Request +import Web.Router +import Web.Utils +import Web.Http + +import Views + +routesTable = [ Route indexGet (T.pack "/") GET + , Route helloGet (T.pack "/hello") GET ]
\ No newline at end of file |