about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:10:17 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:17:28 +0200
commitb3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (patch)
treeb86f8a8f5800bc99f3634c68f798a122bb91aaf4 /app/models
parent188c6f326b991793239c47751ef45226c0cd8890 (diff)
Fix most pages on small screens
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 04f3eb02c..da096d6e9 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -6,8 +6,6 @@ class User < ApplicationRecord
 
   validates :account, presence: true
 
-  has_many :oauth_applications, class_name: 'Doorkeeper::Application', as: :owner
-
   scope :prolific, -> { joins('inner join statuses on statuses.account_id = users.account_id').select('users.*, count(statuses.id) as statuses_count').group('users.id').order('statuses_count desc') }
   scope :recent,   -> { order('created_at desc') }
   scope :admins,   -> { where(admin: true) }