Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small edits to README

  • Loading branch information...
commit e57e001e0bb0968e750f0b34f489e7f3aae1bbe1 1 parent dc1cb4f
@davidsd authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
6 README.md
@@ -66,7 +66,8 @@ y = <dfInputText ref="y" />
Setup
-----
-* Add the snaplet to your application's state, and define a `HasAjax` instance.
+* Add the snaplet to your application's state, and define a `HasAjax`
+ instance.
```haskell
data App = App
{ _heist :: Snaplet (Heist App)
@@ -84,7 +85,8 @@ instance HasAjax App where
type AppHandler = Handler App App
```
-* Call nestSnaplet appropriately in your application's initializer.
+* Call nestSnaplet appropriately in your application's
+ initializer.
```haskell
app = makeSnaplet "app" "An snaplet example application." Nothing $ do
h <- nestSnaplet "" heist $ heistInit "templates"
Please sign in to comment.
Something went wrong with that request. Please try again.