Add batch approve/reject for pending hashtags in admin UI (#11791)
This commit is contained in:
@ -251,7 +251,14 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
resources :account_moderation_notes, only: [:create, :destroy]
|
||||
resources :tags, only: [:index, :show, :update]
|
||||
|
||||
resources :tags, only: [:index, :show, :update] do
|
||||
collection do
|
||||
post :approve_all
|
||||
post :reject_all
|
||||
post :batch
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
get '/admin', to: redirect('/admin/dashboard', status: 302)
|
||||
|
Reference in New Issue
Block a user