<%= project_link_to.call({object: current_user, depth: 0}) do %>
Home
<% end %>
<% my_project_tree.each do |pnode| %>
<% next if pnode[:object].class != Group %>
<%= project_link_to.call pnode do %>
<%= pnode[:object].name %>
<% end %>
<% end %>
<% shared_project_tree.each do |pnode| %>
<% next if pnode[:object].class != Group %>
<%= project_link_to.call pnode do %>
<%= pnode[:object].name %>
<% end %>
<% end %>