From 99a88e583a677ed0b76e3e44b0622da930bc3ada Mon Sep 17 00:00:00 2001 From: Taranveer Virk Date: Tue, 20 Feb 2018 15:20:18 -0500 Subject: [PATCH] fix: excpicitly add controller booter conventions to cli template --- packages/cli/generators/app/templates/src/application.ts.ejs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/cli/generators/app/templates/src/application.ts.ejs b/packages/cli/generators/app/templates/src/application.ts.ejs index 2683e3238cab..2ec25ec71d00 100644 --- a/packages/cli/generators/app/templates/src/application.ts.ejs +++ b/packages/cli/generators/app/templates/src/application.ts.ejs @@ -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, } } }