From a2ad08b2e213cfd56676bc8251147f25aef63984 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 12 Dec 2019 19:12:38 +0000 Subject: [PATCH] Use correct link for settings page --- app/views/site/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index 769526e45..1dba95e5d 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -5,7 +5,7 @@

<%= t "layouts.osm_read_only" %>

<% elsif !current_user.data_public? %>

<%= t ".not_public" %>

-

<%= raw t ".not_public_description", :user_page => (link_to t(".user_page_link"), user_path(current_user, :anchor => "public")) %>

+

<%= raw t ".not_public_description", :user_page => (link_to t(".user_page_link"), :controller => "users", :action => "account", :display_name => current_user.display_name, :anchor => "public") %>

<%= raw t "site.edit.anon_edits", :link => link_to(t(".anon_edits_link_text"), t(".anon_edits_link")) %>

<% else %> <%= render :partial => preferred_editor %> -- 2.39.5