Remove moderation comment routes

This commit is contained in:
Andreas Nedbal 2022-07-19 00:03:47 +02:00 committed by Karina Kwiatek
parent cbd9106a87
commit b1bb376abd
1 changed files with 0 additions and 2 deletions

View File

@ -27,8 +27,6 @@ Rails.application.routes.draw do
match '/moderation/inbox/:user', to: 'moderation/inbox#index', via: :get, as: :mod_inbox_index
namespace :ajax do
match '/mod/destroy_report', to: 'moderation#destroy_report', via: :post, as: :mod_destroy_report
match '/mod/create_comment', to: 'moderation#create_comment', via: :post, as: :mod_create_comment
match '/mod/destroy_comment', to: 'moderation#destroy_comment', via: :post, as: :mod_destroy_comment
match '/mod/privilege', to: 'moderation#privilege', via: :post, as: :mod_privilege
match '/mod/ban', to: 'moderation#ban', via: :post, as: :mod_ban
end