chore: Add unread notification count API (#1646)

Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
Muhsin Keloth
2021-01-17 09:15:31 -08:00
committed by GitHub
parent b6e8173b24
commit dd90e24d02
3 changed files with 31 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ Rails.application.routes.draw do
resources :notifications, only: [:index, :update] do
collection do
post :read_all
get :unread_count
end
end
resource :notification_settings, only: [:show, :update]