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
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-03 15:24:08 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-03 15:24:08 +0400
commite8f1331fa4b3f4c4037f6509b2a846f521f506fc (patch)
treedcb2eab0999d85ac607102a4cb3f62594f64dfd1 /lib
parent7a0e1c7238033b33b7296701bfded56d4ad7f250 (diff)
parentcf53b361b98b899aeededde6aad1d4aca54fd8ff (diff)
Merge branch 'internal-api-post' into 'master'
Internal api post See merge request !1059
Diffstat (limited to 'lib')
-rw-r--r--lib/api/internal.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb
index 86fa149d050..5f484f63418 100644
--- a/lib/api/internal.rb
+++ b/lib/api/internal.rb
@@ -12,7 +12,9 @@ module API
# ref - branch name
# forced_push - forced_push
#
- get "/allowed" do
+ post "/allowed" do
+ status 200
+
# Check for *.wiki repositories.
# Strip out the .wiki from the pathname before finding the
# project. This applies the correct project permissions to