diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-19 09:27:18 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-08-19 09:27:18 +0200 |
commit | 88a0395a58739ff0a4bc8ff79bc0b60ac2c0f736 (patch) | |
tree | 301ba59a7d214d5cf655263c95d731b9f18b6566 /config/routes.rb | |
parent | 44e31c3e531e5c206003b7ed83ee1d6fdd3b2b53 (diff) | |
parent | 59c68c1a74d5398b9c31489744ff8eca82e2ce50 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index e06b2c1d2..3e0be9380 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -137,7 +137,12 @@ Rails.application.routes.draw do resources :email_domain_blocks, only: [:index, :new, :create, :destroy] resources :action_logs, only: [:index] resource :settings, only: [:edit, :update] - resources :invites, only: [:index, :create, :destroy] + + resources :invites, only: [:index, :create, :destroy] do + collection do + post :deactivate_all + end + end resources :relays, only: [:index, :new, :create, :destroy] do member do |