mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-04 21:02:35 +08:00
11 lines
175 B
Ruby
11 lines
175 B
Ruby
module LabelConcern
|
|
def create
|
|
model.update_labels(permitted_params[:labels])
|
|
@labels = model.label_list
|
|
end
|
|
|
|
def index
|
|
@labels = model.label_list
|
|
end
|
|
end
|