feat: Add an option to delete campaigns (#2402)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Muhsin Keloth
2021-06-15 14:14:59 +05:30
committed by GitHub
parent a56aa5656d
commit 0f377da109
12 changed files with 334 additions and 244 deletions

View File

@@ -49,7 +49,7 @@ Rails.application.routes.draw do
end
end
resources :canned_responses, except: [:show, :edit, :new]
resources :campaigns, only: [:index, :create, :show, :update]
resources :campaigns, only: [:index, :create, :show, :update, :destroy]
namespace :channels do
resource :twilio_channel, only: [:create]