Added show action and associated view to the posts controller.