Skip to content
Snippets Groups Projects
Unverified Commit 50cff3e4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Check for CI enabled in correct place

parent 64e12d58
No related branches found
No related tags found
No related merge requests found
class Projects::ApplicationController < ApplicationController
before_action :project
before_action :repository
before_action :ci_enabled, only: :ci
layout 'project'
 
def authenticate_user!
Loading
Loading
Loading
Loading
@@ -5,6 +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
 
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