reworking delete routing to use partials and ajax