Updated post controller and views