Chatwoot/app/controllers/api/v1/accounts/contacts/labels_controller.rb
2021-10-24 12:40:30 +05:30

13 lines
239 B
Ruby

class Api::V1::Accounts::Contacts::LabelsController < Api::V1::Accounts::Contacts::BaseController
include LabelConcern
private
def model
@model ||= @contact
end
def permitted_params
params.permit(labels: [])
end
end