changing show method (Post) to edit: combining the two action in one