mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 02:53:10 +08:00

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
|