%= content_for :sidebar do %>
<% repositories.each do |repository| %>
-
<% if current_page?(repository_path(repository)) %>
<%= repository.name %>
<% else %>
<%= link_to repository.name,
repository_path(repository),
data: { 'no-turbolink' => 'true' } %>
<% end %>
<% end %>
<% end %>
<%= javascript_include_tag("sidebar") %>