discourse/app/models/reports/likes.rb

6 lines
125 B
Ruby

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