Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Johnson <ajohnson@draster.com>2016-01-15 13:29:34 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-15 14:01:19 +0300
commitf66f9e95bf1e67ad13de9958d16103b858b58e72 (patch)
tree16d511865ed6ba5f3eba29de8366d046cf8157f1 /app/controllers/projects/commit_controller.rb
parentf093d8ccb4101e160bf2a89ec1f9ebe9d73f84fc (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.rb2
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