diff options
Diffstat (limited to 'app/controllers/projects/build_artifacts_controller.rb')
-rw-r--r-- | app/controllers/projects/build_artifacts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/build_artifacts_controller.rb b/app/controllers/projects/build_artifacts_controller.rb index 4274c356227..7c1b98930f8 100644 --- a/app/controllers/projects/build_artifacts_controller.rb +++ b/app/controllers/projects/build_artifacts_controller.rb @@ -31,7 +31,7 @@ class Projects::BuildArtifactsController < Projects::ApplicationController private def validate_artifacts! - render_404 unless job && job.artifacts? + render_404 unless job&.artifacts? end def extract_ref_name_and_path |