Permalink
Browse files

addTemplatesAt semantics have changed

  • Loading branch information...
1 parent 7562ece commit 1ba56852974fdcc8ab6ac55531abe2bd3035b9b1 @gregorycollins gregorycollins committed Mar 16, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Snap/StaticPages.hs
View
3 src/Snap/StaticPages.hs
@@ -68,8 +68,7 @@ staticPagesInit p = makeSnaplet "static-pages" desc Nothing $ do
cmap <- liftIO $ buildContentMap baseURL contentDir
- url <- getSnapletRootURL
- addTemplatesAt url pth
+ addTemplatesAt "" pth
addRoutes [ ("", serveStaticPages) ]
return StaticPages {

0 comments on commit 1ba5685

Please sign in to comment.