Changing edit link to current url instead of root.