Feature: Label APIs (#931)

This commit is contained in:
Sojan Jose
2020-06-07 11:17:13 +05:30
committed by GitHub
parent 915eefdc36
commit 3d84568a37
15 changed files with 196 additions and 37 deletions

View File

@@ -76,12 +76,8 @@ Rails.application.routes.draw do
post :set_agent_bot, on: :member
end
resources :inbox_members, only: [:create, :show], param: :inbox_id
resources :labels, only: [:index] do
collection do
get :most_used
end
end
resources :labels, only: [:index, :show, :create, :update, :destroy]
resources :notifications, only: [:index, :update]
resource :notification_settings, only: [:show, :update]