Make gitlab works with gitlab-shell

This commit is contained in:
Dmitriy Zaporozhets 2013-02-04 15:07:56 +02:00
parent 6b9a609044
commit 27d9ac0fe8
9 changed files with 44 additions and 71 deletions

View file

@ -80,4 +80,8 @@ class Key < ActiveRecord::Base
def last_deploy?
Key.where(identifier: identifier).count == 0
end
def owner_name
user.username
end
end