Refactor / cleanup

This commit is contained in:
Jakob Borg
2014-12-30 09:35:21 +01:00
parent 2496185629
commit 5143c09bcf
6 changed files with 62 additions and 77 deletions

View File

@@ -648,7 +648,7 @@ func restPostBump(m *model.Model, w http.ResponseWriter, r *http.Request) {
qs := r.URL.Query()
folder := qs.Get("folder")
file := qs.Get("file")
m.Bump(folder, file)
m.BringToFront(folder, file)
restGetNeed(m, w, r)
}