Fix permission in configSave in Practice controller
This commit is contained in:
parent
b82cb949f3
commit
faba41759f
|
@ -101,7 +101,7 @@ object Practice extends LilaController {
|
|||
} yield Ok(html.practice.config(struct, form))
|
||||
}
|
||||
|
||||
def configSave = SecureBody(_.StreamConfig) { implicit ctx => me =>
|
||||
def configSave = SecureBody(_.PracticeConfig) { implicit ctx => me =>
|
||||
implicit val req = ctx.body
|
||||
env.api.config.form.flatMap { form =>
|
||||
FormFuResult(form) { err =>
|
||||
|
|
Loading…
Reference in a new issue