From 0ba232ad3d3752e2cdc585de727f0506d598d50d Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Tue, 24 Oct 2017 14:34:26 -0700 Subject: Change Module back to having a simple route: Route method --- src/main/scala/xyz/driver/core/app/DriverApp.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/scala/xyz/driver/core/app/DriverApp.scala') diff --git a/src/main/scala/xyz/driver/core/app/DriverApp.scala b/src/main/scala/xyz/driver/core/app/DriverApp.scala index 8f2cf70..4110c37 100644 --- a/src/main/scala/xyz/driver/core/app/DriverApp.scala +++ b/src/main/scala/xyz/driver/core/app/DriverApp.scala @@ -108,8 +108,7 @@ class DriverApp(appName: String, respondWithHeaders(responseHeaders) { modules - .flatMap(_.routes) - .map(_.routeWithDefaults) + .map(_.route) .foldLeft(versionRt ~ healthRoute ~ swaggerRoutes)(_ ~ _) }(contextWithTrackingId) } -- cgit v1.2.3