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 35df9b9 commit 99a88e5
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 99a88e5

Please sign in to comment.