diff --git a/app/views/repositories/_sidebar.html.erb b/app/views/repositories/_sidebar.html.erb
index 3651d48cc..e2a39f56c 100644
--- a/app/views/repositories/_sidebar.html.erb
+++ b/app/views/repositories/_sidebar.html.erb
@@ -8,19 +8,17 @@
<% repositories.each do |repository| %>
- <% cache repository do %>
-
-
- <% if current_page?(repository_path(repository)) %>
+
+
+ <% if current_page?(repository_path(repository)) %>
<%= repository.name %>
- <% else %>
- <%= link_to repository.name,
- repository_path(repository),
- data: { 'no-turbolink' => 'true' } %>
- <% end %>
-
-
- <% end %>
+ <% else %>
+ <%= link_to repository.name,
+ repository_path(repository),
+ data: { 'no-turbolink' => 'true' } %>
+ <% end %>
+
+
<% end %>