Removing unnecessary actions in posts controller