before calling the summary partial from the helper, decorate the passed-in resource