diff options
author | Shuhei Kitagawa <shuheiktgw@users.noreply.github.com> | 2018-05-06 17:59:03 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-06 10:59:03 +0200 |
commit | bd10a7e48076c913a652c347b0477496be8813fa (patch) | |
tree | 5d78c7bbbdb75883ac327d22d68488e6b415f5c9 /config/routes.rb | |
parent | 8c35d163a5c50eeb30220141036dac0c5dad295c (diff) |
Add resend confirmation for admin (#7378)
* Add confirmations_controller#resend * Add tests for confirmations_controller#resend * Add translations
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 90f6ac594..4c920cf74 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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 |