Skip to content
Snippets Groups Projects
Commit 86a09cfa authored by Douwe Maan's avatar Douwe Maan
Browse files

`builds_enabled` rather than `ci_enabled`

parent 3eb20912
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -28,7 +28,7 @@ class Projects::ApplicationController < ApplicationController
 
private
 
def ci_enabled
def builds_enabled
return render_404 unless @project.builds_enabled?
end
 
Loading
Loading
Loading
Loading
@@ -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|
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment