make the edit link a little more generic

Use the action and the object instead of the path. This will be helpful
in a later refactoring
comment out what is already accounted for