aqueduct icon indicating copy to clipboard operation
aqueduct copied to clipboard

Some document errors

Open jodinathan opened this issue 8 years ago • 3 comments

I found some simple errors in documentation and the editing link is throwing 404.

URL: https://aqueduct.io/docs/http/resource_controller/ "For example, the following binds the header named 'X-API-Key' to the argument apiKey" But the example binds to a path:

Future<Response> getCityByName(@Bind.path('x-api-key') String apiKey) async {
}

URL: https://aqueduct.io/docs/http/controller/

final controllerA = Controller();
controller.link(() => Controller());

I think that controller.link should be controllerA.link

jodinathan avatar Oct 25 '18 15:10 jodinathan

@anachlas can you confirm edit link now works? Looks good to me but can’t dig in

itsjoeconway avatar Oct 25 '18 16:10 itsjoeconway

Edit link now works

anachlas avatar Oct 25 '18 16:10 anachlas

But it makes the edits in the docs/source branch, so changes will only be reflected in the actual docs after a deploy.

anachlas avatar Oct 25 '18 16:10 anachlas