Chatwoot/app/controllers/api/v1/labels_controller.rb
2019-10-20 14:17:26 +05:30

5 lines
157 B
Ruby

class Api::V1::LabelsController < Api::BaseController
def index # list all labels in account
@labels = current_account.all_conversation_tags
end
end