Skip to content

Commit

Permalink
docs: rearrange a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffijoe committed Nov 11, 2017
1 parent 46a942e commit bee2b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ const container = createContainer()
userService: /*...*/,
todoService: /*...*/
})
app.use(scopePerRequest(container))
// Loads all controllers in the `routes` folder
// relative to the current working directory.
// This is a glob pattern.
app.use(scopePerRequest(container))
app.use(loadControllers('routes/*.js', { cwd: __dirname }))

app.listen(3000)
Expand Down

0 comments on commit bee2b72

Please sign in to comment.