discourse/app/models/reports/likes.rb

6 lines
159 B
Ruby

Report.add_report("likes") do |report|
report.category_filtering = true
report.icon = 'heart'
post_action_report report, PostActionType.types[:like]
end