diff options
author | Adam Pahlevi <adam.pahlevi@gmail.com> | 2017-02-03 06:43:19 +0700 |
---|---|---|
committer | Adam Pahlevi <adam.pahlevi@gmail.com> | 2017-02-03 07:14:04 +0700 |
commit | a0586dbc165cc09422412149712a218938137308 (patch) | |
tree | 1918196171212c48a28bb4e28b6b0fed5f3ad2f2 /lib/banzai | |
parent | d777e6f1da98be64b872a2bea2222f3e037a3d4d (diff) | |
download | gitlab-ce-a0586dbc165cc09422412149712a218938137308.tar.gz |
replace `find_with_namespace` with `find_by_full_path`
add complete changelog for !8949
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/cross_project_reference.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/cross_project_reference.rb b/lib/banzai/cross_project_reference.rb index 0257848b6bc..e2b57adf611 100644 --- a/lib/banzai/cross_project_reference.rb +++ b/lib/banzai/cross_project_reference.rb @@ -14,7 +14,7 @@ module Banzai def project_from_ref(ref) return context[:project] unless ref - Project.find_with_namespace(ref) + Project.find_by_full_path(ref) end end end |