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
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-29 18:39:46 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-29 18:39:46 +0400
commitd636ad49bfba59499e45b445ca7e137e83613d8b (patch)
tree4f825ec920e898f2749c144992eff903887cc763 /lib/api/deploy_keys.rb
parentd71914ca230ce83fe1d908d31fb11667a9539304 (diff)
API: set gitlab-ci service for project
Diffstat (limited to 'lib/api/deploy_keys.rb')
-rw-r--r--lib/api/deploy_keys.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/api/deploy_keys.rb b/lib/api/deploy_keys.rb
index 218b3d8eee2..b5997608997 100644
--- a/lib/api/deploy_keys.rb
+++ b/lib/api/deploy_keys.rb
@@ -5,16 +5,6 @@ module API
before { authorize_admin_project }
resource :projects do
- helpers do
- def handle_project_member_errors(errors)
- if errors[:project_access].any?
- error!(errors[:project_access], 422)
- end
- not_found!
- end
- end
-
-
# Get a specific project's keys
#
# Example Request: