13 lines
272 B
Ruby
13 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
|