Chatwoot/app/controllers/api/v1/accounts/conversations/labels_controller.rb
2021-01-03 20:07:57 +05:30

13 lines
269 B
Ruby

class Api::V1::Accounts::Conversations::LabelsController < Api::V1::Accounts::Conversations::BaseController
include LabelConcern
private
def model
@model ||= @conversation
end
def permitted_params
params.permit(:conversation_id, :labels)
end
end