From 21d9fadca3cb30dfc5fd3c4f2fbe04cea7c3c794 Mon Sep 17 00:00:00 2001 From: Infinite Sea Inc Date: Thu, 29 Sep 2016 07:34:08 -0700 Subject: [PATCH 1/2] Fix links --- getting-started/hello-world.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getting-started/hello-world.md b/getting-started/hello-world.md index be76d71e..697d768d 100644 --- a/getting-started/hello-world.md +++ b/getting-started/hello-world.md @@ -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.html) 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.html) can be returned. Learn more in the [Routing](../routing/basic.html) 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. From b9b2e0e4d7d76c9ef6d2355434c6b68b74088f4d Mon Sep 17 00:00:00 2001 From: Infinite Sea Inc Date: Thu, 29 Sep 2016 07:36:17 -0700 Subject: [PATCH 2/2] updates --- getting-started/hello-world.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getting-started/hello-world.md b/getting-started/hello-world.md index 697d768d..f86e1551 100644 --- a/getting-started/hello-world.md +++ b/getting-started/hello-world.md @@ -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](../http/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](../http/response-representable.html) can be returned. Learn more in the [Routing](../routing/basic.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.