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:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-08-30 05:10:41 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-08-31 17:31:45 +0300
commiteaf60bb5441190e2ffcf219b3169bda2237d57cd (patch)
tree3139e8056df242472c91d9d2ac6d48c82cf4b36c /lib/api/helpers
parentcbaa015cc9f55a387cdab85a6ba4b8c9c6ab447e (diff)
Implement /internal/post_receive unified endpoint for PostReceive tasks
Diffstat (limited to 'lib/api/helpers')
-rw-r--r--lib/api/helpers/internal_helpers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/helpers/internal_helpers.rb b/lib/api/helpers/internal_helpers.rb
index ecb79317093..f57ff0f2632 100644
--- a/lib/api/helpers/internal_helpers.rb
+++ b/lib/api/helpers/internal_helpers.rb
@@ -42,6 +42,10 @@ module API
::Users::ActivityService.new(actor, 'Git SSH').execute if commands.include?(params[:action])
end
+ def merge_request_urls
+ ::MergeRequests::GetUrlsService.new(project).execute(params[:changes])
+ end
+
private
def set_project