[EDIT] Change render from view to application context