mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-15 21:39:00 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -112,6 +112,12 @@ module ExtractsRef
|
||||
]
|
||||
end
|
||||
|
||||
def ref_type
|
||||
self.class.ref_type(params[:ref_type])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def extract_ref_path
|
||||
id = extract_id_from_params
|
||||
ref, path = extract_ref(id)
|
||||
@ -119,12 +125,6 @@ module ExtractsRef
|
||||
[id, ref, path]
|
||||
end
|
||||
|
||||
def ref_type
|
||||
self.class.ref_type(params[:ref_type])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def extract_raw_ref(id)
|
||||
return ['', ''] unless repository_container
|
||||
|
||||
|
Reference in New Issue
Block a user