mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 11:12:45 +08:00
13 lines
254 B
Ruby
13 lines
254 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require "discourse_dev/reviewable"
|
||
|
require "faker"
|
||
|
|
||
|
module DiscourseDev
|
||
|
class ReviewablePost < Reviewable
|
||
|
def populate!
|
||
|
@posts.sample(2).each { |post| ::ReviewablePost.queue_for_review(post) }
|
||
|
end
|
||
|
end
|
||
|
end
|