Method: DiscoveryRulesController#destroy

Defined in:
app/controllers/discovery_rules_controller.rb

#destroyObject



47
48
49
50
51
52
53
# File 'app/controllers/discovery_rules_controller.rb', line 47

def destroy
  if @discovery_rule.destroy
    process_success
  else
    process_error
  end
end