Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2019-05-21 01:56:19 +0300
committerMatija Čupić <matteeyah@gmail.com>2019-05-28 18:06:29 +0300
commitc86fa0e45e4a053090b5c17b9678120e39f696a6 (patch)
tree177623aae61915a5d23701ab8428c264261b0724 /app/serializers/job_artifact_report_entity.rb
parent9e6f37744a7f30a181879a1e2799e129c5e795c9 (diff)
Rename with_all_reports to with_reports
Diffstat (limited to 'app/serializers/job_artifact_report_entity.rb')
-rw-r--r--app/serializers/job_artifact_report_entity.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/serializers/job_artifact_report_entity.rb b/app/serializers/job_artifact_report_entity.rb
index 857cbfe8ee8..4280351a6b0 100644
--- a/app/serializers/job_artifact_report_entity.rb
+++ b/app/serializers/job_artifact_report_entity.rb
@@ -8,8 +8,6 @@ class JobArtifactReportEntity < Grape::Entity
expose :size
expose :download_path do |artifact|
- download_project_job_artifacts_path(job.project, job, file_type: artifact.file_format)
+ download_project_job_artifacts_path(artifact.job.project, artifact.job, file_type: artifact.file_format)
end
-
- alias_method :job, :object
end