Merge pull request #48 from infinite-sea/master

Fixing links on Hello World docs
This commit is contained in:
Tanner 2016-09-29 16:07:17 -04:00 committed by GitHub
commit 69e5d7d02a
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ drop.get("hello") { request in
This creates a new route on the `Droplet` that will match all `GET` requests to `/hello`.
All route closures are passed an instance of [Request](../guide/request.html) that contains information such as the URI requested and data sent.
All route closures are passed an instance of [Request](../http/request.md) that contains information such as the URI requested and data sent.
This route simply returns a string, but anything that is [ResponseRepresentable](../guide/routing.html) can be returned. Learn more in the [Routing]({../guide/routing.html) section of the guide.
This route simply returns a string, but anything that is [ResponseRepresentable](../http/response-representable.md) can be returned. Learn more in the [Routing](../routing/basic.md) section of the guide.
Note: Xcode autocomplete may add extraneous type information to your closure's input arguments. This can be deleted to keep the code clean. If you'd like to keep the type information add `import HTTP` to the top of the file.