package views

import models.Image

/**
 * Created by allen on 3/30/17.
 */

class ImageView{
    fun urlForImage(image: Image?): String{
        if(image != null){
            return "http://google.com/" + image.path
        }
        return ""
    }
}

package views

import models.Image

/**
 * Created by allen on 3/30/17.
 */

class ImageView{
    fun urlForImage(image: Image?): String{
        if(image != null){
            return "http://photog.alaska.dev/media/images/" + image.path
        }
        return ""
    }
}

Edit base url for url for image function
Edit base url for url for image function

allen-garvey/photog-spark,allen-garvey/photog-spark,allen-garvey/photog-spark