Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val t2:Future[Tuple2[List[PlayerCol],List[CreatureCol]]] = for {
- p <- PlayerDAO.findAll()
- c <- CreatureDAO.findAlive()
- }yield(p,c)
- t2.map(t => Ok(views.html.index(t._1, t._2)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement