mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
62956003c3
A new settings section in the review queue allows admins to specify that certain types of flags should be weighted higher than others.
8 lines
178 B
Ruby
8 lines
178 B
Ruby
class ReviewableScoreBonusSerializer < ApplicationSerializer
|
|
attributes :id, :name, :score_bonus
|
|
|
|
def name
|
|
I18n.t("post_action_types.#{object.name_key}.title")
|
|
end
|
|
end
|