chore: Add subscription delete API (#3703)

This commit is contained in:
Muhsin Keloth
2022-01-06 21:40:43 +05:30
committed by GitHub
parent a61dae0bb2
commit e1fe4f09bc
3 changed files with 35 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ Rails.application.routes.draw do
end
end
resource :notification_subscriptions, only: [:create]
resource :notification_subscriptions, only: [:create, :destroy]
namespace :widget do
resource :config, only: [:create]