Pass correct parameters

This commit is contained in:
miks 2011-12-29 23:09:46 +02:00
parent 3a597db773
commit 753d4cb25e

View file

@ -21,14 +21,14 @@ class DeployKey < ActiveRecord::Base
def update_repository def update_repository
Gitlabhq::GitHost.system.new.configure do |c| Gitlabhq::GitHost.system.new.configure do |c|
c.update_keys(identifier, key) c.update_keys(identifier, key)
c.update_project(project) c.update_project(project.path, project)
end end
end end
def repository_delete_key def repository_delete_key
Gitlabhq::GitHost.system.new.configure do |c| Gitlabhq::GitHost.system.new.configure do |c|
c.delete_key(identifier) c.delete_key(identifier)
c.update_project(project) c.update_project(project.path, project)
end end
end end