miha-x64
02/15/2017, 12:36 PMval UPDATE_BOOK_ROUTE = “/updateBook”.asRoute<Book>(<http://HttpMethod.POST|HttpMethod.POST>)
fun <T> formFor(T obj, Route<T>): Html = TODO()
fun <T> String.asRoute(method: HttpMethod): Route<T> = Route(this, method)
Route constructor may check if this address not already taken and is there an appropriate controller.