Add admin status edit commands
This commit is contained in:
parent
7910ab0333
commit
ad102071bc
6 changed files with 92 additions and 3 deletions
|
@ -355,6 +355,14 @@ Rails.application.routes.draw do
|
|||
resource :action, only: [:new, :create], controller: 'account_actions'
|
||||
|
||||
resources :statuses, only: [:index, :show] do
|
||||
member do
|
||||
post :remove_history
|
||||
post :remove_media
|
||||
post :force_sensitive
|
||||
post :force_cw
|
||||
post :remove_status
|
||||
end
|
||||
|
||||
collection do
|
||||
post :batch
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue