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) %>