Create the ability to send reports to moderators

- Limited to Builders+
-- Moderator+ can also use as they may be too busy ATM
- Only on users, comments, and forum posts
- Multiple reports can be generated per instance
- Primarily posts to a moderator-only topic for viewability
- Secondarily has a table for searchability
-- Viewable only by moderators
This commit is contained in:
BrokenEagle
2020-01-18 05:34:46 +00:00
parent 4a7322b197
commit 4cef0e45c2
17 changed files with 255 additions and 0 deletions

View File

@@ -305,6 +305,10 @@ module Danbooru
"help:appeal_notice"
end
def report_notice_wiki_page
"help:report_notice"
end
def replacement_notice_wiki_page
"help:replacement_notice"
end

View File

@@ -160,6 +160,7 @@ Rails.application.routes.draw do
end
end
resources :mod_actions
resources :moderation_reports, only: [:new, :create, :index]
resources :news_updates
resources :notes do
collection do