Make sure /api/allowed return 200 status code

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-09-03 13:33:44 +03:00
parent 0a7dea29aa
commit cf53b361b9
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 2 additions and 0 deletions

View File

@ -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