Merge pull request #30 from tthbalazs/patch-1

Small updates for 1.0
This commit is contained in:
Tanner 2016-09-16 12:50:22 -04:00 committed by GitHub
commit 94d9fedb25
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ Now that we have covered initializing the model, we need to show it how to save
```swift
final class User: Model {
func makeNode() throws -> Node {
func makeNode(context: Context) throws -> Node {
return try Node(node: [
"id": id,
"name": name

View File

@ -17,7 +17,7 @@ let drop = Droplet()
// your magic here
drop.start()
drop.run()
```
Creation of the `Droplet` normally happens in the `main.swift` file.