diff options
author | James Lopez <james@jameslopez.es> | 2016-12-21 17:41:33 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-03 13:01:46 +0100 |
commit | 112f47057275312daa876bee5bd74d5464410bc5 (patch) | |
tree | 257495d658a39b8e31c3407498ec248cb97976a6 /lib/gitlab/gfm/reference_rewriter.rb | |
parent | de25604fbca2f7005754d821d571bbcb1cc510ac (diff) | |
download | gitlab-ce-112f47057275312daa876bee5bd74d5464410bc5.tar.gz |
Fix cross-project references copy to include the project referencefix/cross-project-ref-path
Also added relevant specs and refactored to_references in a bunch of places to be more consistent.
Diffstat (limited to 'lib/gitlab/gfm/reference_rewriter.rb')
-rw-r--r-- | lib/gitlab/gfm/reference_rewriter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gfm/reference_rewriter.rb b/lib/gitlab/gfm/reference_rewriter.rb index a7c596dced0..b984492d369 100644 --- a/lib/gitlab/gfm/reference_rewriter.rb +++ b/lib/gitlab/gfm/reference_rewriter.rb @@ -76,7 +76,7 @@ module Gitlab if referable.respond_to?(:project) referable.to_reference(target_project) else - referable.to_reference(@source_project, target_project) + referable.to_reference(@source_project, target_project: target_project) end end |