mirror of
https://github.com/dpnmw/community-landing.git
synced 2026-03-18 09:27:16 +00:00
Major overhaul and options inclusion
This commit is contained in:
@@ -11,6 +11,7 @@ module CommunityLanding
|
||||
if s.contributors_enabled
|
||||
User
|
||||
.joins(:posts)
|
||||
.includes(:user_profile)
|
||||
.where(posts: { created_at: s.contributors_days.days.ago.. })
|
||||
.where.not(username: %w[system discobot])
|
||||
.where(active: true, staged: false)
|
||||
|
||||
Reference in New Issue
Block a user