From d516d909d07a6a45f480a3ba51c2ba69191fd52b Mon Sep 17 00:00:00 2001 From: "kamil.mysliwiec" Date: Tue, 11 Apr 2017 12:35:33 +0200 Subject: [PATCH] Cleanup --- example/modules/users/users.module.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/example/modules/users/users.module.ts b/example/modules/users/users.module.ts index 037e4a843c2..dd3878b332b 100644 --- a/example/modules/users/users.module.ts +++ b/example/modules/users/users.module.ts @@ -17,15 +17,8 @@ export class UsersModule { configure(builder: MiddlewareBuilder) { builder.apply(AuthMiddleware) - .with('admin', 'creator', 'editor') + .with('admin') .forRoutes(UsersController); - - /* builder.use({ - middlewares: [ - AuthMiddleware - ], - forRoutes: [ UsersController ] - });*/ } }