Skip to content

Commit

Permalink
fix: wire up Assets to FaciaController
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgorrie committed Nov 2, 2023
1 parent de6f733 commit 7d9d078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions facia/app/controllers/FaciaController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ trait FaciaController
val mostViewedAgent: MostViewedAgent
val deeplyReadAgent: DeeplyReadAgent
val remoteRenderer: DotcomRenderingService = DotcomRenderingService()
val assets: Assets

implicit val context: ApplicationContext

Expand Down Expand Up @@ -536,5 +537,6 @@ class FaciaControllerImpl(
val ws: WSClient,
val mostViewedAgent: MostViewedAgent,
val deeplyReadAgent: DeeplyReadAgent,
val assets: Assets,
)(implicit val context: ApplicationContext)
extends FaciaController
1 change: 1 addition & 0 deletions facia/app/controllers/FaciaControllers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}

0 comments on commit 7d9d078

Please sign in to comment.