using pathFor helper instead of hardcoded urls