summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2015-12-30 14:41:44 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:14 +0100
commit662f4b9e1dec8e461c4ea8da3ccc46a259d9d205 (patch)
tree67560291d8f60faf7da1adf18f38626c6039bcbf /app/controllers
parentc177784d5af6b47ae613f922e075a38fc56ad711 (diff)
downloadgitlab-ce-662f4b9e1dec8e461c4ea8da3ccc46a259d9d205.tar.gz
Add artifacts metadata uploader filed
Artifacts metadata field will be used to store a filename of gzipped file containing metadata definition for given artifacts archive.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/artifacts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/artifacts_controller.rb b/app/controllers/projects/artifacts_controller.rb
index 18677fb1e95..8a1ff383134 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -18,7 +18,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
return render_404 unless build.artifacts?
current_path = params[:path] ? "./#{params[:path]}/" : './'
- artifacts_metadata = build.artifacts_metadata(current_path)
+ artifacts_metadata = build.artifacts_metadata_for(current_path)
@path = Gitlab::StringPath.new(current_path, artifacts_metadata)
end