From b5bf326cc0ef91086f8cc05f5292c15753c0f2f9 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 19 Jul 2022 21:55:32 +0200 Subject: [PATCH] Remove priority action route --- config/routes.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 7943eae9..9f57813f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,7 +21,6 @@ Rails.application.routes.draw do # Routes only accessible by moderators (moderation panel) authenticate :user, ->(user) { user.mod? } do match '/moderation/unmask', to: 'moderation#toggle_unmask', via: :post, as: :moderation_toggle_unmask - match '/moderation/priority(/:user_id)', to: 'moderation#priority', via: :get, as: :moderation_priority match '/moderation(/:type)', to: 'moderation#index', via: :get, as: :moderation, defaults: {type: 'all'} match '/moderation/inbox/:user', to: 'moderation/inbox#index', via: :get, as: :mod_inbox_index namespace :ajax do