Merge branch 'main' into glitch-soc/merge-upstream
Conflicts: - `app/views/admin/reports/show.html.haml`: Conflicts due to glitch-soc's theming system.
This commit is contained in:
@ -233,8 +233,6 @@ Rails.application.routes.draw do
|
||||
post :reopen
|
||||
post :resolve
|
||||
end
|
||||
|
||||
resources :reported_statuses, only: [:create]
|
||||
end
|
||||
|
||||
resources :report_notes, only: [:create, :destroy]
|
||||
@ -261,7 +259,13 @@ Rails.application.routes.draw do
|
||||
resource :change_email, only: [:show, :update]
|
||||
resource :reset, only: [:create]
|
||||
resource :action, only: [:new, :create], controller: 'account_actions'
|
||||
resources :statuses, only: [:index, :show, :create, :update, :destroy]
|
||||
|
||||
resources :statuses, only: [:index] do
|
||||
collection do
|
||||
post :batch
|
||||
end
|
||||
end
|
||||
|
||||
resources :relationships, only: [:index]
|
||||
|
||||
resource :confirmation, only: [:create] do
|
||||
@ -518,7 +522,7 @@ Rails.application.routes.draw do
|
||||
resource :action, only: [:create], controller: 'account_actions'
|
||||
end
|
||||
|
||||
resources :reports, only: [:index, :show] do
|
||||
resources :reports, only: [:index, :update, :show] do
|
||||
member do
|
||||
post :assign_to_self
|
||||
post :unassign
|
||||
|
Reference in New Issue
Block a user