diff --git a/cmd/main.go b/cmd/main.go index 8a131f4..0b60d29 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -73,8 +73,8 @@ func main() { mux.HandleFunc("GET /user/delete/{id}", f.DeleteUser(config, db, store)) mux.HandleFunc("GET /user/edit/{id}", f.EditUser(config, db, store)) mux.HandleFunc("GET /user/edit/self", f.EditSelf(config, db, store)) - mux.HandleFunc("GET /user/show-all/delete", f.ShowAllUsers(config, db, store, "delete-user")) - mux.HandleFunc("GET /user/show-all/edit", f.ShowAllUsers(config, db, store, "edit-user")) + mux.HandleFunc("GET /user/show-all/delete", f.ShowAllUsers(config, db, store, "delete")) + mux.HandleFunc("GET /user/show-all/edit", f.ShowAllUsers(config, db, store, "edit")) mux.HandleFunc("POST /article/resubmit/{id}", f.ResubmitArticle(config, db, store)) mux.HandleFunc("POST /article/submit", f.SubmitArticle(config, db, store)) diff --git a/web/templates/add-tag.html b/web/templates/add-tag.html index e79865a..29532af 100644 --- a/web/templates/add-tag.html +++ b/web/templates/add-tag.html @@ -4,7 +4,7 @@
diff --git a/web/templates/hub.html b/web/templates/hub.html index 0c02910..e5f4b87 100644 --- a/web/templates/hub.html +++ b/web/templates/hub.html @@ -7,7 +7,7 @@