diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-03 15:32:42 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-03 15:32:42 +0300 |
commit | 928d131e3974018581d561a7eb11d6524d2e79a2 (patch) | |
tree | 8f2c76dfe2576ed86e7850805ad6fd43f0b9c653 /lib | |
parent | 044e0e33dce9371430a3c91e63f9f687b536d35b (diff) | |
parent | 6689224a90f3d2500be5d927ea1ed9656fc7b1b6 (diff) |
Merge branch 'master' into link-refs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/lfs/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/lfs/response.rb b/lib/gitlab/lfs/response.rb index c18dfbd485d..9be9a65671b 100644 --- a/lib/gitlab/lfs/response.rb +++ b/lib/gitlab/lfs/response.rb @@ -260,7 +260,7 @@ module Gitlab end def link_to_project(object) - if object && !object.projects.exists?(@project) + if object && !object.projects.exists?(@project.id) object.projects << @project object.save end |