diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 7ee666e..7dbfff5 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -51,6 +51,9 @@ Grade: <%= format_grade(@root_module_result.grade) %>
+ <% unless @root_module_result.parent_id.nil? %> +<%= link_to '../', project_repository_module_path(@repository.project_id, @repository.id, @root_module_result.parent_id) %>
+ <% end %> <% children = @root_module_result.children %> <% unless children.empty? %>