Updated posts_controller actions, posts view and posts routes.