From 7410dbac424573e125758a6cca684eed28247b74 Mon Sep 17 00:00:00 2001 From: "G. Kay Lee" Date: Mon, 26 Feb 2018 10:34:00 +1100 Subject: [PATCH] Update yo-generator.md (#4581) --- docs/Getting Started/yo-generator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Getting Started/yo-generator.md b/docs/Getting Started/yo-generator.md index d507afa895..d4db384e44 100644 --- a/docs/Getting Started/yo-generator.md +++ b/docs/Getting Started/yo-generator.md @@ -202,7 +202,7 @@ exports = module.exports = function(app) { - Tell Keystone how to handle `404` and `500` errors - Use the importer to load all the route controllers in the `/routes/views` directory - Export a method that binds the index route controller to `GET` requests on the root url `/` - - The `app` argument to this method our express app, so anything you can do binding routes in express, you can do here. + - The `app` argument to this method comes from our express app, so anything you can do binding routes in express, you can do here. - Additional route controllers that you add to your app should be added using `app.get`, `app.post` or `app.all` under your root controller. ### Common Route Middleware