summaryrefslogtreecommitdiff
path: root/lib/api/helpers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-09-01 06:49:28 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-09-01 06:49:28 +0000
commit6f96ccaa7dd53a7462b86a0ebe8af66afde86aa2 (patch)
treefa19cdd2b032ee81c38363b8e5b76624712fe55d /lib/api/helpers
parent8713afe61fb1beaff4d550a60b88d274c47006ea (diff)
parenteaf60bb5441190e2ffcf219b3169bda2237d57cd (diff)
downloadgitlab-ce-6f96ccaa7dd53a7462b86a0ebe8af66afde86aa2.tar.gz
Merge branch 'gitaly-shell-redis' into 'master'
Implement /internal/post_receive unified endpoint for PostReceive tasks See merge request !13916
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