mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
14 lines
272 B
Ruby
14 lines
272 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
|