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
+2
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