chore: Add unread notification count API (#1646)
Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user