5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 21:26:21 +00:00
panel/app/models/concerns/activity_pub/moderator_concern.rb

12 lines
201 B
Ruby
Raw Permalink Normal View History

2024-11-13 19:37:14 +00:00
# frozen_string_literal: true
class ActivityPub
module ModeratorConcern
extend ActiveSupport::Concern
included do
scope :moderators, ->() { where(moderator: true) }
end
end
end