diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 5c8976930..d5ddeed11 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -71,7 +71,7 @@ <% end %> - <% if can_create_repositories?(@repository.team) %> + <% if can_create_repositories?(current_team) %>
  • <%= link_to t('repositories.index.options_dropdown.copy'), team_repository_copy_modal_path(current_team, repository_id: @repository),