Skip to content

Instantly share code, notes, and snippets.

View daneko's full-sized avatar

Koichi Akatsuka daneko

View GitHub Profile
def index(id:String) = Action {
getFirstData(id)
}
private def getFirstData(id:String) = {
Cache.get(id) match {
case Some(id2) => getSecondData(id2)
case None => NotFound
}
}
private def getSecondData(id2:String) = {