diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-21 15:19:23 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-24 12:30:36 +0200 |
commit | 0ff778c0f4a3b599d0f36a1deee5607d03e52b9a (patch) | |
tree | ad89737763ed27faedec8e28ac338a4b1fb94b34 /app/models/concerns/mentionable.rb | |
parent | 27af24c1c951385bccd298c98044d57ff22ccd1c (diff) | |
download | gitlab-ce-0ff778c0f4a3b599d0f36a1deee5607d03e52b9a.tar.gz |
Link cross-project cross-reference notes to correct project.
Diffstat (limited to 'app/models/concerns/mentionable.rb')
-rw-r--r-- | app/models/concerns/mentionable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/mentionable.rb b/app/models/concerns/mentionable.rb index aad5e514793..3ef3e8b67d8 100644 --- a/app/models/concerns/mentionable.rb +++ b/app/models/concerns/mentionable.rb @@ -64,7 +64,7 @@ module Mentionable def create_cross_references!(p = project, a = author, without = []) refs = references(p) - without refs.each do |ref| - Note.create_cross_reference_note(ref, local_reference, a, p) + Note.create_cross_reference_note(ref, local_reference, a) end end |