ux(getting started): progress on getting started panel and persited help flag states, #6466

This commit is contained in:
Torkel Ödegaard
2016-11-09 10:41:39 +01:00
parent 5f2cb8e193
commit fb57bf77da
16 changed files with 165 additions and 87 deletions

View File

@@ -113,6 +113,9 @@ func Register(r *macaron.Macaron) {
r.Put("/password", bind(m.ChangeUserPasswordCommand{}), wrap(ChangeUserPassword))
r.Get("/quotas", wrap(GetUserQuotas))
r.Put("/helpflags/:id", wrap(SetHelpFlag))
// For dev purpose
r.Get("/helpflags/clear", wrap(ClearHelpFlags))
r.Get("/preferences", wrap(GetUserPreferences))
r.Put("/preferences", bind(dtos.UpdatePrefsCmd{}), wrap(UpdateUserPreferences))