mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
cfbbfd177c
This is preparation for a feature that will allow admins to define their custom flags. Current behaviour should stay untouched.
8 lines
152 B
Ruby
8 lines
152 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:flag_post_action, from: :post_action) do
|
|
user
|
|
post
|
|
post_action_type_id PostActionType.types[:spam]
|
|
end
|