Skip to content
Browse files

Render 404 properly

  • Loading branch information...
1 parent e754963 commit 3be41ee26db87e95353784814a2c3b92662b7241 @gregorycollins committed Mar 28, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Homepage/Handlers.hs
View
3 src/Homepage/Handlers.hs
@@ -69,7 +69,8 @@ temporaryPosts = do
fourohfour :: HomepageHandler
-fourohfour = serveTemplate "." "404"
+fourohfour = serveTemplate' "." "404" (setAttribute "whichCss"
+ ("posts" :: String))
-- N.B. "fileServeStrict" here is like normal "fileServe" from

0 comments on commit 3be41ee

Please sign in to comment.
Something went wrong with that request. Please try again.