Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
10
research/chatwoot/app/controllers/concerns/label_concern.rb
Normal file
10
research/chatwoot/app/controllers/concerns/label_concern.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
module LabelConcern
|
||||
def create
|
||||
model.update_labels(permitted_params[:labels])
|
||||
@labels = model.label_list
|
||||
end
|
||||
|
||||
def index
|
||||
@labels = model.label_list
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user