Method: ActiveStix::IndicatorLabelsController#update

Defined in:
app/controllers/active_stix/indicator_labels_controller.rb

#updateObject

PATCH/PUT /indicator_labels/1



37
38
39
40
41
42
43
# File 'app/controllers/active_stix/indicator_labels_controller.rb', line 37

def update
  if @indicator_label.update(indicator_label_params)
    redirect_to @indicator_label, notice: 'Indicator label was successfully updated.'
  else
    render :edit
  end
end