Commit 753d4cb2 authored by miks's avatar miks

Pass correct parameters

parent 3a597db7
......@@ -21,14 +21,14 @@ class DeployKey < ActiveRecord::Base
def update_repository
Gitlabhq::GitHost.system.new.configure do |c|
c.update_keys(identifier, key)
c.update_project(project)
c.update_project(project.path, project)
end
end
def repository_delete_key
Gitlabhq::GitHost.system.new.configure do |c|
c.delete_key(identifier)
c.update_project(project)
c.update_project(project.path, project)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment