code tweak

skip-glicko-obvious
Thibault Duplessis 2021-09-29 16:10:37 +02:00
parent 0247686705
commit 63ab3e23aa
1 changed files with 3 additions and 4 deletions

View File

@ -13,8 +13,7 @@ final class Notify(env: Env) extends LilaController(env) {
}
}
def clear =
Auth { implicit ctx => me =>
XhrOrRedirectHome { (env.notifyM.api.remove(Notifies(me.id))) }
}
def clear = Auth { implicit ctx => me =>
env.notifyM.api.remove(Notifies(me.id))
}
}