2021-10-24 07:10:30 +00:00
|
|
|
class Api::V1::Accounts::Contacts::LabelsController < Api::V1::Accounts::Contacts::BaseController
|
2021-01-03 14:37:57 +00:00
|
|
|
include LabelConcern
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def model
|
2021-10-24 07:10:30 +00:00
|
|
|
@model ||= @contact
|
2021-01-03 14:37:57 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def permitted_params
|
2021-10-24 07:10:30 +00:00
|
|
|
params.permit(labels: [])
|
2021-01-03 14:37:57 +00:00
|
|
|
end
|
|
|
|
end
|