From 2ae8bca9f1047b809e3322251131027e41adcc1c Mon Sep 17 00:00:00 2001 From: Jake Scott Date: Sat, 8 Feb 2014 18:27:47 +1300 Subject: [PATCH] Fix documentation comment --- pkg/handler/admin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/handler/admin.go b/pkg/handler/admin.go index be3b67a7..1d553d98 100644 --- a/pkg/handler/admin.go +++ b/pkg/handler/admin.go @@ -140,7 +140,7 @@ func AdminUserDelete(w http.ResponseWriter, r *http.Request, u *User) error { return nil } -// Display a list of ALL users in the system +// Return an HTML form for the User to update the site settings. func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error { // get settings from database settings := database.SettingsMust() @@ -153,7 +153,6 @@ func AdminSettings(w http.ResponseWriter, r *http.Request, u *User) error { return RenderTemplate(w, "admin_settings.html", &data) } -// Display a list of ALL users in the system func AdminSettingsUpdate(w http.ResponseWriter, r *http.Request, u *User) error { // get settings from database settings := database.SettingsMust()