summaryrefslogtreecommitdiff
path: root/app/models/concerns/mentionable.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-17 20:59:19 -0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-22 12:13:46 +0200
commit2120e2dd95dbbab81c4b818d6d860139bb6c5f0b (patch)
tree45c46b71d93851138f02d0891c5581616273e0d3 /app/models/concerns/mentionable.rb
parent213d1a4768b4bb83aa1ca827682468c381cbe9c9 (diff)
downloadgitlab-ce-2120e2dd95dbbab81c4b818d6d860139bb6c5f0b.tar.gz
Replace remaining references to `Note.create_cross_reference_note`
Diffstat (limited to 'app/models/concerns/mentionable.rb')
-rw-r--r--app/models/concerns/mentionable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/mentionable.rb b/app/models/concerns/mentionable.rb
index 10c39cb1ece..56849f28ff0 100644
--- a/app/models/concerns/mentionable.rb
+++ b/app/models/concerns/mentionable.rb
@@ -75,7 +75,7 @@ module Mentionable
refs.reject! { |ref| without.include?(ref) }
refs.each do |ref|
- Note.create_cross_reference_note(ref, local_reference, a)
+ SystemNoteService.cross_reference(ref, local_reference, a)
end
end