mirror of https://github.com/vapor/docs.git
Merge pull request #34 from VikinArtisan/patch-3
update call view command
This commit is contained in:
commit
48bafebbe3
|
|
@ -63,7 +63,7 @@ The `Views` folder in `Resources` is where Vapor will look when you render views
|
|||
The following code would load the `user.html` file.
|
||||
|
||||
```swift
|
||||
drop.view("user.html")
|
||||
drop.view.make("user.html")
|
||||
```
|
||||
|
||||
## Config
|
||||
|
|
|
|||
Loading…
Reference in New Issue