Add resend confirmation for admin (#7378)

* Add confirmations_controller#resend

* Add tests for confirmations_controller#resend

* Add translations
This commit is contained in:
Shuhei Kitagawa
2018-05-06 17:59:03 +09:00
committed by Eugen Rochko
parent 8c35d163a5
commit bd10a7e480
35 changed files with 251 additions and 4 deletions

View File

@ -155,8 +155,13 @@ Rails.application.routes.draw do
resource :reset, only: [:create]
resource :silence, only: [:create, :destroy]
resource :suspension, only: [:create, :destroy]
resource :confirmation, only: [:create]
resources :statuses, only: [:index, :create]
resources :statuses, only: [:index, :create, :update, :destroy]
resource :confirmation, only: [:create] do
collection do
post :resend
end
end
resource :role do
member do