index action pulls all posts from db, iterate over them in view like in show action