0
0
Fork 0

Add button to re-subscribe to all accounts from a domain (#4285)

This commit is contained in:
Eugen Rochko 2017-07-20 23:07:13 +02:00 committed by GitHub
parent 1fcdaafa6f
commit 4b911fea03
3 changed files with 19 additions and 1 deletions

View file

@ -88,7 +88,12 @@ Rails.application.routes.draw do
resources :subscriptions, only: [:index]
resources :domain_blocks, only: [:index, :new, :create, :show, :destroy]
resource :settings, only: [:edit, :update]
resources :instances, only: [:index]
resources :instances, only: [:index] do
collection do
post :resubscribe
end
end
resources :reports, only: [:index, :show, :update] do
resources :reported_statuses, only: [:create, :update, :destroy]