I created the index action that displays a list of the post.