Refactor to avoid respond_to conditional See merge request gitlab-org/gitlab!70004
Attach a file by drag & drop or click to upload