diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-03 03:09:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-03 03:09:53 +0300 |
commit | 1502c20d04c7ff8d719175c76b0a2507ab390172 (patch) | |
tree | dc01bfe0877bd93e7047db28dd972c7d597a527b /app/controllers/concerns/integrations_actions.rb | |
parent | f96f2720d1b21b76eadedc54fdea67cb70e98d94 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers/concerns/integrations_actions.rb')
-rw-r--r-- | app/controllers/concerns/integrations_actions.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/concerns/integrations_actions.rb b/app/controllers/concerns/integrations_actions.rb index 8e9b038437d..86968b99ce6 100644 --- a/app/controllers/concerns/integrations_actions.rb +++ b/app/controllers/concerns/integrations_actions.rb @@ -43,6 +43,12 @@ module IntegrationsActions render json: {}, status: :ok end + def reset + flash[:notice] = s_('Integrations|This integration, and inheriting projects were reset.') + + render json: {}, status: :ok + end + private def integrations_enabled? |