Small fix.

This commit is contained in:
takezoe
2013-06-26 02:13:28 +09:00
parent e334570670
commit d75b4112d1
5 changed files with 39 additions and 37 deletions

View File

@@ -24,12 +24,12 @@ trait AccountControllerBase extends ControllerBase {
val userName = params("userName")
getAccountByUserName(userName).map {
account.html.userinfo(_, getVisibleRepositories(userName, baseUrl, context.loginAccount.map(_.userName)))
} getOrElse NotFound()
} getOrElse NotFound
}
get("/:userName/_edit")(ownerOnly {
val userName = params("userName")
getAccountByUserName(userName).map(account.html.useredit(_)) getOrElse NotFound()
getAccountByUserName(userName).map(account.html.useredit(_)) getOrElse NotFound
})
post("/:userName/_edit", form)(ownerOnly { form =>