Browse files

Merge branch 'master' of

  • Loading branch information...
gregorycollins committed Mar 16, 2012
2 parents 7e362ca + 93e9e6c commit ba1a817bcee7dd5977b3ddbda8152bf44739ae1a
Showing with 21 additions and 0 deletions.
  1. +21 −0 blogdata/content/2012/03/16/
@@ -233,6 +233,27 @@ many prefixes.
Exceptions thrown by Snaplet initializers are now caught properly, and unload
actions that were registered before the exception was thrown are now executed.
+### Heist snaplet filepath change
+The Heist snaplet used to look for templates in the user-specified directory
+relative to the project root. This yielded incorrect behavior when using the
+snaplet somewhere other than at the top level. Now the Heist snaplet looks in
+it's correct root in the filesystem: snaplets/heist. If your application has
+this code
+~~~~~~~~~~ {.haskell}
+hs <- nestSnaplet "" heist $ heistInit "templates"
+ 0.7 your templates would have been in templates. In 0.8 they should
+reside in snaplets/heist/templates.
+### New semantics for addTemplatesAt
+The URLs generated by addTemplatesAt are now (correctly) relative to the
+snaplet's root URL. If you use this function or the addTemplates function to
+manually add templates that were not loaded by heistInit, you will have to
+change your code.
### Heist: fix small bug with $-expansion in attributes

0 comments on commit ba1a817

Please sign in to comment.