Adds the views to all post related actions