Add confirmation step to account suspensions (#8353)
* Add confirmation page for suspensions * Suspension confirmation closes reports, linked from report UI * Fix tests
This commit is contained in:
parent
28de046b8b
commit
2374a00c10
12 changed files with 92 additions and 29 deletions
|
@ -174,7 +174,7 @@ Rails.application.routes.draw do
|
|||
resource :change_email, only: [:show, :update]
|
||||
resource :reset, only: [:create]
|
||||
resource :silence, only: [:create, :destroy]
|
||||
resource :suspension, only: [:create, :destroy]
|
||||
resource :suspension, only: [:new, :create, :destroy]
|
||||
resources :statuses, only: [:index, :create, :update, :destroy]
|
||||
|
||||
resource :confirmation, only: [:create] do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue