Method: ActiveStix::MalwaresController#destroy

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

#destroyObject

DELETE /malwares/1



46
47
48
49
# File 'app/controllers/active_stix/malwares_controller.rb', line 46

def destroy
  @malware.destroy
  redirect_to malwares_url, notice: 'Malware was successfully destroyed.'
end