2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-31 14:25:30 +00:00

Adding version to login (#372)

* Adding version to login

* Allow override of version

* Have default version based on build

* Adding version to local dev
This commit is contained in:
Paul Cleary
2018-12-05 15:29:22 -05:00
committed by GitHub
parent 2d875d014b
commit 469e49e6f6
10 changed files with 83 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ package controllers
import actions.FrontendAction
import javax.inject.{Inject, Singleton}
import models.CustomLinks
import models.{CustomLinks, Meta}
import org.slf4j.LoggerFactory
import play.api.Logger
import play.api.mvc._
@@ -40,6 +40,7 @@ class FrontendController @Inject()(
private val userAction = Action.andThen(new FrontendAction(userAccountAccessor.get))
implicit lazy val customLinks: CustomLinks = CustomLinks(configuration)
implicit lazy val meta: Meta = Meta(configuration)
private val logger = LoggerFactory.getLogger(classOf[FrontendController])
def loginPage(): Action[AnyContent] = Action { implicit request =>