add remove keys from gitlab-shell by id
This commit is contained in:
parent
081c272b85
commit
39e37677f2
3 changed files with 10 additions and 10 deletions
|
@ -81,7 +81,7 @@ class Key < ActiveRecord::Base
|
|||
Key.where(identifier: identifier).count == 0
|
||||
end
|
||||
|
||||
def owner_name
|
||||
user.username
|
||||
def shell_id
|
||||
"key-#{self.id}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue