Expand the endpoints in .render instead of .view