You can simply delete this line. The routes.rb is configured so that the application will only permit delete requests in order to delete an attachment.