]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/application/_settings_menu.html.erb
Extend user list to allow searching by name or email
[rails.git] / app / views / application / _settings_menu.html.erb
index 14f1c2927b69321afd10fa6942bff48cf28a2e4f..a0d3c0ad4cd597cb1ef8d940fae4ae1560510188 100644 (file)
@@ -3,7 +3,7 @@
 <% content_for :heading do %>
   <ul class="nav nav-tabs flex-column flex-sm-row">
     <li class="nav-item">
-      <%= link_to t(".account_settings"), edit_account_path, :class => "nav-link #{'active' if %w[accounts deletions].include?(controller_name)}" %>
+      <%= link_to t(".account_settings"), account_path, :class => "nav-link #{'active' if %w[accounts deletions].include?(controller_name)}" %>
     </li>
     <li class="nav-item">
       <%= link_to t(".oauth2_applications"), oauth_applications_path, :class => "nav-link #{'active' if controller_name == 'oauth2_applications'}" %>