I got another problem, I can't seem to get locatio...
# ktor
t
I got another problem, I can't seem to get locations to work. I have the following:
Copy code
@location("/transaction")
data class ViewTransaction(val id: Int)
And this:
Copy code
fun Route.viewTransaction() {
    get<ViewTransaction> {
        call.respond("Transactions")
    }
}
And it's registered:
Copy code
install(Routing) {
        viewTransaction()
    }