Read about our upcoming Code of Conduct on this issue

This instance was upgraded to Heptapod 0.28.1 today

Unverified Commit 50cff3e4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Check for CI enabled in correct place

Signed-off-by: default avatarDmitriy Zaporozhets <>
parent 6cf818f9ef4d
class Projects::ApplicationController < ApplicationController
before_action :project
before_action :repository
before_action :ci_enabled, only: :ci
layout 'project'
def authenticate_user!
......@@ -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|
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