This commit is contained in:
Torkel Ödegaard
2016-04-01 17:34:30 -07:00
parent f165ba6480
commit 38a10f8be4
14 changed files with 189 additions and 67 deletions
+2
View File
@@ -100,6 +100,8 @@ func Register(r *macaron.Macaron) {
r.Delete("/stars/dashboard/:id", wrap(UnstarDashboard))
r.Put("/password", bind(m.ChangeUserPasswordCommand{}), wrap(ChangeUserPassword))
r.Get("/quotas", wrap(GetUserQuotas))
r.Get("/preferences", wrap(GetUserPreferences))
r.Put("/preferences", bind(dtos.UpdateUserPrefsCmd{}), wrap(UpdateUserPreferences))
})
// users (admin permission required)