From 7d9d07897b61c1598415a42f0513314f5067b566 Mon Sep 17 00:00:00 2001 From: James Gorrie Date: Thu, 2 Nov 2023 17:54:23 +0000 Subject: [PATCH] fix: wire up Assets to FaciaController --- facia/app/controllers/FaciaController.scala | 2 ++ facia/app/controllers/FaciaControllers.scala | 1 + 2 files changed, 3 insertions(+) diff --git a/facia/app/controllers/FaciaController.scala b/facia/app/controllers/FaciaController.scala index 53c2748f40b..87beba5ee98 100644 --- a/facia/app/controllers/FaciaController.scala +++ b/facia/app/controllers/FaciaController.scala @@ -47,6 +47,7 @@ trait FaciaController val mostViewedAgent: MostViewedAgent val deeplyReadAgent: DeeplyReadAgent val remoteRenderer: DotcomRenderingService = DotcomRenderingService() + val assets: Assets implicit val context: ApplicationContext @@ -536,5 +537,6 @@ class FaciaControllerImpl( val ws: WSClient, val mostViewedAgent: MostViewedAgent, val deeplyReadAgent: DeeplyReadAgent, + val assets: Assets, )(implicit val context: ApplicationContext) extends FaciaController diff --git a/facia/app/controllers/FaciaControllers.scala b/facia/app/controllers/FaciaControllers.scala index 044d9edff58..c9c9d86c8fa 100644 --- a/facia/app/controllers/FaciaControllers.scala +++ b/facia/app/controllers/FaciaControllers.scala @@ -13,6 +13,7 @@ trait FaciaControllers { def wsClient: WSClient def mostViewedAgent: MostViewedAgent def deeplyReadAgent: DeeplyReadAgent + def assets: Assets implicit def appContext: ApplicationContext lazy val faciaController = wire[FaciaControllerImpl] }