remove debugging

This commit is contained in:
Thibault Duplessis 2013-07-30 14:16:39 +02:00
parent 9f2ef4adb5
commit ea3a4d6d01
2 changed files with 2 additions and 3 deletions

View file

@ -28,8 +28,7 @@ object Game extends LilaController with BaseGame {
}
def realtime = Open { implicit ctx
// GameRepo.featuredCandidates map lila.game.Featured.sort map (_ take 9) zip
GameRepo.random(9) zip
GameRepo.featuredCandidates map lila.game.Featured.sort map (_ take 9) zip
makeListMenu map {
case (games, menu) html.game.realtime(games, menu)
}

View file

@ -38,7 +38,7 @@ object Report extends LilaController {
forms.create.bindFromRequest.fold(
err get("username") ?? UserRepo.named flatMap { user
forms.anyCaptcha map { captcha
BadRequest(html.report.form(err.pp, user, captcha))
BadRequest(html.report.form(err, user, captcha))
}
},
data api.create(data, me) map { thread