Commit 753d4cb25e2cc39159963c82e164451f43500ccd
1 parent
3a597db7
Exists in
master
and in
4 other branches
Pass correct parameters
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/models/deploy_key.rb
| ... | ... | @@ -21,14 +21,14 @@ class DeployKey < ActiveRecord::Base |
| 21 | 21 | def update_repository |
| 22 | 22 | Gitlabhq::GitHost.system.new.configure do |c| |
| 23 | 23 | c.update_keys(identifier, key) |
| 24 | - c.update_project(project) | |
| 24 | + c.update_project(project.path, project) | |
| 25 | 25 | end |
| 26 | 26 | end |
| 27 | 27 | |
| 28 | 28 | def repository_delete_key |
| 29 | 29 | Gitlabhq::GitHost.system.new.configure do |c| |
| 30 | 30 | c.delete_key(identifier) |
| 31 | - c.update_project(project) | |
| 31 | + c.update_project(project.path, project) | |
| 32 | 32 | end |
| 33 | 33 | end |
| 34 | 34 | ... | ... |