diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-29 01:16:33 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-29 01:16:33 +0400 |
commit | d6b2b4f06952625da670735724e8c14ac3d7b9c5 (patch) | |
tree | cf519dbaef0ee0df4a51d2eed04c467ad1c53af9 /lib/gitlab/backend/gitolite.rb | |
parent | 5d88cdd9b82251b70559ba5172c15e333f28ff3c (diff) |
fixed configure call within gitolite
Diffstat (limited to 'lib/gitlab/backend/gitolite.rb')
-rw-r--r-- | lib/gitlab/backend/gitolite.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gitlab/backend/gitolite.rb b/lib/gitlab/backend/gitolite.rb index 4d0a0cf02d6..1eb8a0b0560 100644 --- a/lib/gitlab/backend/gitolite.rb +++ b/lib/gitlab/backend/gitolite.rb @@ -8,21 +8,21 @@ module Gitlab class AccessDenied < StandardError; end def set_key key_id, key_content, projects - self.configure do |c| + configure do |c| c.update_keys(key_id, key_content) c.update_project(project.path, projects) end end def remove_key key_id, projects - self.configure do |c| + configure do |c| c.delete_key(key_id) c.update_project(project.path, projects) end end def update_repository project - self.configure do |c| + configure do |c| c.update_project(project.path, project) end end @@ -30,7 +30,7 @@ module Gitlab alias_method :create_repository, :update_repository def remove_repository project - self.configure do |c| + configure do |c| c.destroy_project(project) end end @@ -45,7 +45,7 @@ module Gitlab end def enable_automerge - self.configure do |git| + configure do |git| git.admin_all_repo end end |