diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-03 13:33:44 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-03 13:33:44 +0300 |
| commit | cf53b361b98b899aeededde6aad1d4aca54fd8ff (patch) | |
| tree | 1e2fdf09cffa07229c37da719ec56855b88db32c /lib/api/internal.rb | |
| parent | 0a7dea29aadb737f778830096515b10dc3dd1dd7 (diff) | |
| download | gitlab-ce-cf53b361b98b899aeededde6aad1d4aca54fd8ff.tar.gz | |
Make sure /api/allowed return 200 status code
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/internal.rb')
| -rw-r--r-- | lib/api/internal.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 2b0ef114913..5f484f63418 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -13,6 +13,8 @@ module API # forced_push - forced_push # 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 |
