Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-03 03:09:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-03 03:09:53 +0300
commit1502c20d04c7ff8d719175c76b0a2507ab390172 (patch)
treedc01bfe0877bd93e7047db28dd972c7d597a527b /app/controllers/concerns/integrations_actions.rb
parentf96f2720d1b21b76eadedc54fdea67cb70e98d94 (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.rb6
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?