I have a form where a user can select multiple checkboxes and then press a “Delete Selected” button to destroy the selected records from the database.
Currently, I have add the following to config/routes.rb:
collection do delete 'destroy_multiple' end
This feels wrong, going against RESTful principles. Any suggestions to how I can improve this?