mirror of https://github.com/vapor/docs.git
fix views dir
This commit is contained in:
parent
0bc7a93fcf
commit
bd7947ee2d
|
|
@ -43,7 +43,7 @@ Any class that conforms to `ViewRenderer` can be added to our droplet.
|
|||
```swift
|
||||
let drop = Droplet()
|
||||
|
||||
drop.view = LeafRenderer()
|
||||
drop.view = LeafRenderer(viewsDir: drop.viewsDir)
|
||||
```
|
||||
|
||||
## Available Renderers
|
||||
|
|
|
|||
Loading…
Reference in New Issue