diff options
author | Panagiotis "Ivory" Vasilopoulos <git@n0toose.net> | 2023-09-29 14:57:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 14:57:06 +0000 |
commit | 65e09a303ea46bee59126e36dd2ebb03508a3fad (patch) | |
tree | 7cad9286fec97578460521eb2a2e8f9edb004003 /routers/web/user | |
parent | c3b7231966e629fbe4e5b9073f0781c715aa4600 (diff) | |
download | gitea-65e09a303ea46bee59126e36dd2ebb03508a3fad.tar.gz gitea-65e09a303ea46bee59126e36dd2ebb03508a3fad.zip |
Introduce fixes and more rigorous tests for 'Show on a map' feature (#26803)
This change introduces a fix for the PR #26214 to set the UserLocationMapURL correctly.
Diffstat (limited to 'routers/web/user')
-rw-r--r-- | routers/web/user/profile.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go index f52ceb1a64..48a4b94c19 100644 --- a/routers/web/user/profile.go +++ b/routers/web/user/profile.go @@ -52,7 +52,6 @@ func userProfile(ctx *context.Context) { ctx.Data["Title"] = ctx.ContextUser.DisplayName() ctx.Data["PageIsUserProfile"] = true - ctx.Data["UserLocationMapURL"] = setting.Service.UserLocationMapURL // prepare heatmap data if setting.Service.EnableUserHeatmap { |