Chore: FCM Push Fixes (#934)

This commit is contained in:
Sojan Jose
2020-06-09 17:42:18 +05:30
committed by GitHub
parent 40481f6462
commit 8b022311c0
6 changed files with 92 additions and 21 deletions

View File

@@ -80,7 +80,11 @@ Rails.application.routes.draw do
resources :inbox_members, only: [:create, :show], param: :inbox_id
resources :labels, only: [:index, :show, :create, :update, :destroy]
resources :notifications, only: [:index, :update]
resources :notifications, only: [:index, :update] do
collection do
post :read_all
end
end
resource :notification_settings, only: [:show, :update]
resources :webhooks, except: [:show]