update resource generator to use the new listing_for helper instead of a manual partial rendering