Replaced links with post id with links with post slug. Modified the edit action with post slug not slug id