summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-07-05 13:16:50 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 15:43:37 +0200
commitd9fd3709abb7897785ac111c217b532663313abd (patch)
treecf14a0423fff126fef654a7fac28dc99e7f7b4ef /app
parent075dae65b1a5b57788e4823b09bdcb8fa6eeaf8a (diff)
downloadgitlab-ce-d9fd3709abb7897785ac111c217b532663313abd.tar.gz
use hash instead of 2d array
Diffstat (limited to 'app')
-rw-r--r--app/models/gpg_key.rb2
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?