diff options
| author | Andrew Guschin <guschin.drew@gmail.com> | 2023-03-05 14:28:47 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin.drew@gmail.com> | 2023-03-05 14:28:47 +0400 |
| commit | abbf64f5a5453fcb6bfe9b90df9e8f6fa002b66a (patch) | |
| tree | 9e567245de098d9938b97a96b5e20bfa2ebe2543 /app/Views.hs | |
| parent | a0e8e5a91d15ed8c79f4a1b5914d3a6242c0cbd3 (diff) | |
Diffstat (limited to 'app/Views.hs')
| -rw-r--r-- | app/Views.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Views.hs b/app/Views.hs index 54cd844..2e0482f 100644 --- a/app/Views.hs +++ b/app/Views.hs @@ -8,10 +8,10 @@ import Web.Request import Web.Response indexGet :: Request -> IO Response -indexGet req = renderTemplate "index.html" +indexGet _ = renderTemplate "index.html" helloGet :: Request -> IO Response -helloGet req = renderTemplate "hello.html" +helloGet _ = renderTemplate "hello.html" renderTemplate :: String -> IO Response renderTemplate name = do |