Skip to content

Commit

Permalink
fix: excpicitly add controller booter conventions to cli template
Browse files Browse the repository at this point in the history
  • Loading branch information
virkt25 committed Feb 20, 2018
1 parent 9848df7 commit 8ef54a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/cli/generators/app/templates/src/application.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export class <%= project.applicationName %> extends BootMixin(RestApplication) {
// Customize @loopback/boot Booter Conventions here
this.bootOptions = {
controllers: {
// Customize ControllerBooter Conventiones here
// Customize ControllerBooter Conventions here
dirs: ['controllers'],
extensions: ['.controller.js'],
nested: true,
}
}
}
Expand Down

0 comments on commit 8ef54a0

Please sign in to comment.