package views

import models.Person
import views.BaseView.baseUrl

/**
 * Created by allen on 5/17/17.
 */
object PersonView {
    fun urlForPerson(person: Person): String{
        return baseUrl() + "people/${person.id}"
    }
}
Create person view to get url for a person
Create person view to get url for a person

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