Added a show action and linked the view to the post controller