Minor update to posts controller