in app/controllers/IndexController.scala [22:33]
def index(path:String) = Action {
val cbVersionString = try {
val prop = new Properties()
prop.load(getClass.getClassLoader.getResourceAsStream("version.properties"))
Option(prop.getProperty("build-sha"))
} catch {
case e:Throwable=>
logger.warn("Could not get build-sha property: ", e)
None
}
Ok(views.html.index(cbVersionString.getOrElse("none"), config.getOptional[String]("deployment-root").getOrElse("")))
}