FIX ci connect database before fiter
This commit is contained in:
parent
9332750aa7
commit
47f8197841
|
@ -2,7 +2,7 @@ class Ci::BaseController < ApplicationController
|
|||
include Ci::DbConnectable
|
||||
|
||||
before_action :require_login
|
||||
before_action :connect_to_ci_database, if: -> { current_user && !current_user.is_a?(AnonymousUser) && current_user.devops_certification? }
|
||||
before_action :connect_to_ci_database, if: -> { current_user && !current_user.is_a?(AnonymousUser) && !current_user.devops_uninit? }
|
||||
|
||||
def load_repo
|
||||
namespace = params[:owner]
|
||||
|
|
Loading…
Reference in New Issue