Pass &:path as an argument, instead of a block