import Image from '../models/Image' ; export default { render ( image ) { return `http://localhost:3333/images/${ image . path }` ; } , renderMany ( images ) { return images . map ( image => this . render ( image ) ) ; } } ;