Method: DiscoveryRulesController#update

Defined in:
app/controllers/discovery_rules_controller.rb

#updateObject



39
40
41
42
43
44
45
# File 'app/controllers/discovery_rules_controller.rb', line 39

def update
  if @discovery_rule.update(discovery_rule_params)
    process_success
  else
    process_error
  end
end