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:
@@ -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 =>
|
||||
|
Reference in New Issue
Block a user