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 ...@@ -8,7 +8,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
end end
unless artifacts_file.exists? unless artifacts_file.exists?
return not_found! return render_404
end end
send_file artifacts_file.path, disposition: 'attachment' 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