Lagom additional static assets

Hi guys,

i have a lagom project, i would like to add additional route to serve public assets (css, js, files).
From the documentation, we can achieve it by using ScalaSirdRouter by adding this:

val router = Router.from {
  case GET(p"/assets/$file*") =>
    Assets.versioned(path = "/public", file = file)
}

I am getting the following errors:

  1. value versioned is not a member of object controllers.Assets
  2. not found: value path
  3. reassignment to val

Is there anything i am missing ? Or what is the best way to do this