Commit 6b2f38f3 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix nonexistent method in artifacts controller

parent b7bb56c7
......@@ -8,7 +8,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
end
unless artifacts_file.exists?
return not_found!
return render_404
end
send_file artifacts_file.path, disposition: 'attachment'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment