diff --git a/app/controllers/Round.scala b/app/controllers/Round.scala index d4bdc7efe3..0db9c57498 100644 --- a/app/controllers/Round.scala +++ b/app/controllers/Round.scala @@ -79,8 +79,9 @@ final class Round( def player(fullId: String) = Open { implicit ctx => - OptionFuResult(env.round.proxyRepo.pov(fullId)) { pov => - renderPlayer(pov) + env.round.proxyRepo.pov(fullId) flatMap { + case Some(pov) => renderPlayer(pov) + case None => userC.tryRedirect(fullId) getOrElse notFound } }