We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd2c122 + a5dff32 commit ef5f313Copy full SHA for ef5f313
1 file changed
snaplets/heist/templates/docs/tutorials/snaplets-tutorial.lhs
@@ -99,10 +99,10 @@ The next thing we need to do is define an initializer.
99
> hs <- nestSnaplet "heist" heist $ heistInit "templates"
100
> fs <- nestSnaplet "foo" foo $ fooInit
101
> bs <- nestSnaplet "" bar $ nameSnaplet "newname" $ barInit foo
102
-> addRoutes [ ("/hello", writeText "hello world")
103
-> , ("/fooname", with foo namePage)
104
-> , ("/barname", with bar namePage)
105
-> , ("/company", companyHandler)
+> addRoutes [ ("hello", writeText "hello world")
+> , ("fooname", with foo namePage)
+> , ("barname", with bar namePage)
+> , ("company", companyHandler)
106
> ]
107
> wrapSite (<|> heistServe)
108
> ref <- liftIO $ newIORef "fooCorp"
0 commit comments