X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2403630da87df8a3b57913e8949ae0ff8f611d22..c07bb0745d1ebc58637f8b46f8615dca03fada2d:/app/views/layouts/_header.html.erb
diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index 6b6271c2b..bd1c10c39 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -50,6 +50,9 @@
<%= link_to t("layouts.user_diaries"), diary_entries_path, :class => "nav-link" %>
+
+ <%= link_to t("layouts.communities"), communities_path, :class => "nav-link" %>
+
<%= link_to t("layouts.copyright"), copyright_path, :class => "nav-link" %>
@@ -72,6 +75,7 @@
<% end %>
<%= link_to t("layouts.gps_traces"), traces_path, :class => "dropdown-item" %>
<%= link_to t("layouts.user_diaries"), diary_entries_path, :class => "dropdown-item" %>
+ <%= link_to t("layouts.communities"), communities_path, :class => "dropdown-item" %>
<%= link_to t("layouts.copyright"), copyright_path, :class => "dropdown-item" %>
<%= link_to t("layouts.help"), help_path, :class => "dropdown-item" %>
<%= link_to t("layouts.about"), about_path, :class => "dropdown-item" %>
@@ -95,7 +99,7 @@
<%= number_with_delimiter(current_user.new_messages.size) %>
<% end %>
<%= link_to t("users.show.my profile"), user_path(current_user), :class => "dropdown-item" %>
- <%= link_to t("users.show.my settings"), { :controller => "users", :action => "account", :display_name => current_user.display_name }, { :class => "dropdown-item" } %>
+ <%= link_to t("users.show.my settings"), user_account_path(current_user), :class => "dropdown-item" %>
<%= link_to t("users.show.my_preferences"), preferences_path, :class => "dropdown-item" %>
<%= yield :greeting %>