Skip to content

Commit

Permalink
Update yo-generator.md (#4581)
Browse files Browse the repository at this point in the history
  • Loading branch information
G. Kay Lee authored and Noviny committed Feb 25, 2018
1 parent 4e8fd95 commit 7410dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Getting Started/yo-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7410dba

Please sign in to comment.