BigW Consortium Gitlab

Commit 86a09cfa by Douwe Maan

`builds_enabled` rather than `ci_enabled`

parent 3eb20912
......@@ -28,7 +28,7 @@ class Projects::ApplicationController < ApplicationController
private
def ci_enabled
def builds_enabled
return render_404 unless @project.builds_enabled?
end
......
......@@ -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|
......
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