summaryrefslogtreecommitdiff
path: root/app/controllers/projects/graphs_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-08 12:55:38 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-08 13:06:53 +0100
commit86a09cfaf1f1b8106f1538e8bf5a1aac5f086554 (patch)
tree64f3fdd713a2f1cc1b8159d12cc207700e172b40 /app/controllers/projects/graphs_controller.rb
parent3eb209123de65fceec260914fc59f772043b174d (diff)
downloadgitlab-ce-86a09cfaf1f1b8106f1538e8bf5a1aac5f086554.tar.gz
`builds_enabled` rather than `ci_enabled`
Diffstat (limited to 'app/controllers/projects/graphs_controller.rb')
-rw-r--r--app/controllers/projects/graphs_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/graphs_controller.rb b/app/controllers/projects/graphs_controller.rb
index 418b92040bc..734697839c6 100644
--- a/app/controllers/projects/graphs_controller.rb
+++ b/app/controllers/projects/graphs_controller.rb
@@ -5,7 +5,7 @@ class Projects::GraphsController < Projects::ApplicationController
before_action :require_non_empty_project
before_action :assign_ref_vars
before_action :authorize_download_code!
- before_action :ci_enabled, only: :ci
+ before_action :builds_enabled, only: :ci
def show
respond_to do |format|