Fix copy inventory permission (#2016)

This commit is contained in:
aignatov-bio 2019-08-26 14:48:38 +02:00 committed by GitHub
parent f2a9a4b505
commit 4d20cd7d55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@
</a>
</li>
<% end %>
<% if can_create_repositories?(@repository.team) %>
<% if can_create_repositories?(current_team) %>
<li>
<%= link_to t('repositories.index.options_dropdown.copy'),
team_repository_copy_modal_path(current_team, repository_id: @repository),