diff options
author | Andrew Johnson <ajohnson@draster.com> | 2016-01-15 13:29:34 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-15 14:01:19 +0300 |
commit | f66f9e95bf1e67ad13de9958d16103b858b58e72 (patch) | |
tree | 16d511865ed6ba5f3eba29de8366d046cf8157f1 /app/controllers/projects/commit_controller.rb | |
parent | f093d8ccb4101e160bf2a89ec1f9ebe9d73f84fc (diff) |
Give reporters the ability to download artifacts.
Also fix a few places where page_404 should be render_404.
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index 0aaba3792bf..870f6795219 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -79,7 +79,7 @@ class Projects::CommitController < Projects::ApplicationController def authorize_manage_builds! unless can?(current_user, :manage_builds, project) - return page_404 + return render_404 end end end |