Refactor entity controller - renderViewPage() for postController