change destroy action and application.js