Remove moderation comment routes
This commit is contained in:
parent
cbd9106a87
commit
b1bb376abd
|
@ -27,8 +27,6 @@ Rails.application.routes.draw do
|
||||||
match '/moderation/inbox/:user', to: 'moderation/inbox#index', via: :get, as: :mod_inbox_index
|
match '/moderation/inbox/:user', to: 'moderation/inbox#index', via: :get, as: :mod_inbox_index
|
||||||
namespace :ajax do
|
namespace :ajax do
|
||||||
match '/mod/destroy_report', to: 'moderation#destroy_report', via: :post, as: :mod_destroy_report
|
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/privilege', to: 'moderation#privilege', via: :post, as: :mod_privilege
|
||||||
match '/mod/ban', to: 'moderation#ban', via: :post, as: :mod_ban
|
match '/mod/ban', to: 'moderation#ban', via: :post, as: :mod_ban
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue