Permalink
Browse files

Rename snaplet path to snap-extras

  • Loading branch information...
1 parent 5daf8e8 commit 4918307c91d1e19da0a8605a0bd01b02698fe667 @ozataman committed Oct 21, 2013
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/Snap/Extras.hs
View
@@ -22,12 +22,12 @@ import Snap.Extras.CoreUtils
import Snap.Extras.FlashNotice
import Snap.Extras.FormUtils
import Snap.Extras.JSON
-import qualified Snap.Extras.SpliceUtils.Compiled as C
+import qualified Snap.Extras.SpliceUtils.Compiled as C
import qualified Snap.Extras.SpliceUtils.Interpreted as I
import Snap.Extras.Tabs
import Snap.Extras.TextUtils
-------------------------------------------------------------------------------
-import Paths_snap_extras
+import Paths_snap_extras
-------------------------------------------------------------------------------
@@ -38,10 +38,10 @@ initExtras :: HasHeist b
=> Snaplet (Heist b)
-> SnapletLens b SessionManager
-> SnapletInit b ()
-initExtras heistSnaplet session =
- makeSnaplet
- "Snap Extras"
- "Collection of utilities for web applications"
+initExtras heistSnaplet session =
+ makeSnaplet
+ "snap-extras"
+ "Collection of utilities for web applications"
(Just getDataDir) $ do
addTemplatesAt heistSnaplet "" . (</> "resources/templates")
=<< getSnapletFilePath

0 comments on commit 4918307

Please sign in to comment.