mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 08:24:05 +08:00
c975c7fe1b
Allow admin to create custom flag which requires an additional message. I decided to rename the old `custom_flag` into `require_message` as it is more descriptive.
6 lines
181 B
Ruby
6 lines
181 B
Ruby
# frozen_string_literal: true
|
|
|
|
class FlagSerializer < ApplicationSerializer
|
|
attributes :id, :name, :name_key, :description, :applies_to, :position, :require_message, :enabled
|
|
end
|