FIX devops admin bug

This commit is contained in:
Jasder 2020-09-03 17:05:38 +08:00
parent 562d0b7b07
commit b31a11302c
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
class Ci::CloudAccountsController < Ci::BaseController
include Devopsable
before_action :load_project
before_action :ci_authorize!
before_action :load_project, only: %i[create activate]
before_action :ci_authorize!, only: %i[create activate]
before_action :find_cloud_account, only: %i[activate]
before_action :load_repo, only: %i[activate]