Update manual section.

This commit is contained in:
Logan Wright 2017-05-30 18:32:14 +01:00 committed by GitHub
parent f1e11d6d81
commit c52858e3aa
1 changed files with 2 additions and 3 deletions

View File

@ -43,9 +43,8 @@ You can also set the `drop.view` property manually if you want to hardcode your
import Vapor
import LeafProvider
let drop = try Droplet()
drop.view = LeafRenderer(viewsDir: drop.viewsDir)
let view = LeafRenderer(viewsDir: drop.viewsDir)
let drop = try Droplet(view: view)
```
## Done