Give correct edit and new routing