Updated the edit function to route to the 'posts.create-edit' view.