Skip to content

Commit 35eedd0

Browse files
author
Nicolas
committed
Fix #225
1 parent 2109919 commit 35eedd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/repository_deployment_credential.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class RepositoryDeploymentCredential < ActiveRecord::Base
1313

1414
attr_accessible :perm, :active
1515

16-
validates_presence_of :repository, :gitolite_public_key, :user, :perm
16+
validates_presence_of :repository_id, :gitolite_public_key_id, :user, :perm
1717

1818
validate :correct_key_type, :owner_matches_key
1919

0 commit comments

Comments
 (0)