Makes posts controller slim and as a result fixes defect when attachments are not rendered instantly.