diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-05 13:16:50 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:43:37 +0200 |
commit | d9fd3709abb7897785ac111c217b532663313abd (patch) | |
tree | cf14a0423fff126fef654a7fac28dc99e7f7b4ef /app | |
parent | 075dae65b1a5b57788e4823b09bdcb8fa6eeaf8a (diff) | |
download | gitlab-ce-d9fd3709abb7897785ac111c217b532663313abd.tar.gz |
use hash instead of 2d array
Diffstat (limited to 'app')
-rw-r--r-- | app/models/gpg_key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/gpg_key.rb b/app/models/gpg_key.rb index bd5d833d68c..8cfccef0854 100644 --- a/app/models/gpg_key.rb +++ b/app/models/gpg_key.rb @@ -47,7 +47,7 @@ class GpgKey < ActiveRecord::Base email, email == user.email ] - end + end.to_h end def verified? |