diff --git a/config/routes.rb b/config/routes.rb index 7bf1b6c1b..4eae691f4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -195,7 +195,7 @@ Rails.application.routes.draw do resource :unread_message_info, only: [:show] # 视频 - resources :videos, only: [:index, :update] do + resources :videos, only: [:index, :update, :destroy] do collection do get :review post :batch_publish