% if @repo.branch_exists?(params[:tree]) %>
<% end %>
<% unless params[:splat].nil? or params[:splat].empty? %>
<% tree_nav = params[:splat].first.split('/') %>
-
<%= @repo.name %>
<% tree_nav.each_with_index do |path, index| %>
<% if index == tree_nav.size - 1 %>
- <%= tree_nav.last %>
<% else %>
-
<%= path %>
<% end %>
<% end %>
<% end %>