FIX unbind account bug

This commit is contained in:
Jasder 2020-10-16 19:08:39 +08:00
parent 232bb054ce
commit 77de74fd4b
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class Ci::CloudAccountsController < Ci::BaseController class Ci::CloudAccountsController < Ci::BaseController
include Ci::CloudAccountManageable include Ci::CloudAccountManageable
skip_before_action :connect_to_ci_database, only: %i[create bind] skip_before_action :connect_to_ci_database, only: %i[create bind unbind]
before_action :load_project, only: %i[create activate] before_action :load_project, only: %i[create activate]
before_action :authorize_owner!, only: %i[create activate] before_action :authorize_owner!, only: %i[create activate]
before_action :load_repo, only: %i[activate] before_action :load_repo, only: %i[activate]