15 lines
294 B
Kotlin
15 lines
294 B
Kotlin
package be.vandewalleh.routing
|
|
|
|
import io.ktor.auth.authenticate
|
|
import io.ktor.routing.Routing
|
|
import io.ktor.routing.route
|
|
import org.kodein.di.Kodein
|
|
|
|
fun Routing.chapters(kodein: Kodein) {
|
|
authenticate {
|
|
route("/notes/{noteTitle}/chapters/{chapterNumber}") {
|
|
|
|
}
|
|
}
|
|
}
|