summaryrefslogtreecommitdiff
path: root/app/models/key.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-05 14:20:55 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-05 14:20:55 -0800
commit62ed1c537e9b8aa85d354b377f18083fb71b8e05 (patch)
treea1b75f804b2e9384190f9d591a2f2701ea8d31db /app/models/key.rb
parentdbca8c97588d1fcc4155b079eb54157991be3aa7 (diff)
downloadgitlab-ce-62ed1c537e9b8aa85d354b377f18083fb71b8e05.tar.gz
Explicitly define ordering in models using default_scope
Diffstat (limited to 'app/models/key.rb')
-rw-r--r--app/models/key.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/key.rb b/app/models/key.rb
index d2d1af68822..e2e59296eed 100644
--- a/app/models/key.rb
+++ b/app/models/key.rb
@@ -15,6 +15,7 @@
require 'digest/md5'
class Key < ActiveRecord::Base
+ include Sortable
include Gitlab::Popen
belongs_to :user