Skip to content

Commit

Permalink
fixed update_collaborators
Browse files Browse the repository at this point in the history
  • Loading branch information
sashazykov committed Dec 13, 2014
1 parent abb9ee8 commit 1d08576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/project.rb
Expand Up @@ -54,7 +54,7 @@ def update_collaborators(repo_collaborators)
existing_logins = existing_collaborators.map(&:login)

existing_collaborators.each do |existing_collaborator|
unless repo_logins.include?(existing_collaborator)
unless repo_logins.include?(existing_collaborator.login)
existing_collaborator.mark_for_destruction
end
end
Expand Down

0 comments on commit 1d08576

Please sign in to comment.