diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-11 21:10:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-11 21:10:06 +0300 |
commit | 7a1895c74ad57da757c02b2675147a5a5e2cfe6d (patch) | |
tree | 7204fd4cdecbf1166f1aebca080994fcb7f290cd /app/controllers | |
parent | 9dde2726710184f066387d044fce4ae2b3684210 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/artifacts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/artifacts_controller.rb b/app/controllers/projects/artifacts_controller.rb index fef3c6cf424..652687932fd 100644 --- a/app/controllers/projects/artifacts_controller.rb +++ b/app/controllers/projects/artifacts_controller.rb @@ -108,7 +108,7 @@ class Projects::ArtifactsController < Projects::ApplicationController end def validate_artifacts! - render_404 unless build&.artifacts? + render_404 unless build&.available_artifacts? end def build |