Merge pull request #717 from mz3944/mz-SCI-1419

Fixed sample types page load error, when viewing them on a task levl [SCI-1419]
This commit is contained in:
mz3944 2017-06-28 09:05:31 +02:00 committed by GitHub
commit 6b1fb96f25

View file

@ -203,7 +203,7 @@
<ul class="dropdown-menu repositories-dropdown-menu" aria-labelledby="repositoriesDropdownMenuLink">
<% @my_module.experiment.project.team.repositories.order(created_at: :asc).each do |repository| %>
<li>
<a class="dropdown-item" href="<%= repository_my_module_url(repository_id: repository) %>" title="<%= repository.name %>">
<a class="dropdown-item" href="<%= repository_my_module_url(id: @my_module, repository_id: repository) %>" title="<%= repository.name %>">
<%= truncate(repository.name) %>
</a>
</li>