materialdesignish

This commit is contained in:
Henrique Dias committed 2017-09-07 16:37:11 +01:00
1 parent 6d2fab77e8
commit 4d6b54c63e
28 files changed
+806 -673

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ func usersPostHandler(c *fm.Context, w http.ResponseWriter, r *http.Request) (in
}
// Set the Location header and return.
w.Header().Set("Location", "/users/"+strconv.Itoa(u.ID))
w.Header().Set("Location", "/settings/users/"+strconv.Itoa(u.ID))
w.WriteHeader(http.StatusCreated)
return 0, nil
}