2020-06-07 08:28:05 +00:00
|
|
|
class Api::V1::Accounts::Conversations::LabelsController < Api::V1::Accounts::Conversations::BaseController
|
2021-01-03 14:37:57 +00:00
|
|
|
include LabelConcern
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def model
|
|
|
|
@model ||= @conversation
|
2019-08-14 09:48:44 +00:00
|
|
|
end
|
|
|
|
|
2021-01-03 14:37:57 +00:00
|
|
|
def permitted_params
|
2021-01-13 06:45:11 +00:00
|
|
|
params.permit(:conversation_id, labels: [])
|
2019-08-14 09:48:44 +00:00
|
|
|
end
|
|
|
|
end
|