]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/application/_settings_menu.html.erb
Remove unusual margins and line-height from comments
[rails.git] / app / views / application / _settings_menu.html.erb
index 05cee91858e5a5a9851e215ee41613d10a70a0f7..9ce9755a2c5f3e452e016f2ce0fb6e6551250c40 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 controller_name == 'accounts'}" %>
+      <%= link_to t(".account_settings"), edit_account_path, :class => "nav-link #{'active' if %w[accounts deletions].include?(controller_name)}" %>
     </li>
     <li class="nav-item">
       <%= link_to t(".oauth1_settings"), oauth_clients_path(current_user), :class => "nav-link #{'active' if controller_name == 'oauth_clients'}" %>