]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/_navigation.html.erb
Add navigation tabs to edit block pages
[rails.git] / app / views / user_blocks / _navigation.html.erb
index f53f5cf2806bfc022e10ffed06518095c0fdcf6f..f4f9b04f82b4794e58d13f2f4f6c1e31486ba1d5 100644 (file)
@@ -38,7 +38,7 @@
     <li class="nav-item">
       <%= link_to t(".block", :id => @user_block.id),
                   user_block_path(@user_block),
     <li class="nav-item">
       <%= link_to t(".block", :id => @user_block.id),
                   user_block_path(@user_block),
-                  :class => ["nav-link", { :active => action_name == "show" }] %>
+                  :class => "nav-link active" %>
     </li>
   <% end %>
 </ul>
     </li>
   <% end %>
 </ul>