remove debugging
This commit is contained in:
parent
9f2ef4adb5
commit
ea3a4d6d01
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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 ⇒
|
||||
|
|
Loading…
Reference in a new issue