summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorhazycora <hazysu@riseup.net>2024-02-24 19:24:20 +0100
committerhazycora <hazysu@riseup.net>2024-04-03 22:15:53 +0200
commit75890e8f375da8e17c5b3c098ff0371a7f282a8b (patch)
treef0a5994f5a92281b864ca3982fa8c437b7a78507 /routers
parentchange "any/all" to "any pronouns" (diff)
downloadforgejo-75890e8f375da8e17c5b3c098ff0371a7f282a8b.tar.xz
forgejo-75890e8f375da8e17c5b3c098ff0371a7f282a8b.zip
gofumpt
Diffstat (limited to 'routers')
-rw-r--r--routers/web/user/setting/profile.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/routers/web/user/setting/profile.go b/routers/web/user/setting/profile.go
index 5bbc497db8..24c2147a03 100644
--- a/routers/web/user/setting/profile.go
+++ b/routers/web/user/setting/profile.go
@@ -41,9 +41,7 @@ const (
tplSettingsRepositories base.TplName = "user/settings/repos"
)
-var (
- recognisedPronouns = []string{"", "he/him", "she/her", "they/them", "it/its", "any pronouns"}
-)
+var recognisedPronouns = []string{"", "he/him", "she/her", "they/them", "it/its", "any pronouns"}
// Profile render user's profile page
func Profile(ctx *context.Context) {