mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 07:33:50 +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
|